/* ================================================
   PORTFOLIO THEME - AI & Power Platform Architect
   Vibrant, Modern, ATS-Optimized Design
   ================================================ */

:root {
    --clr-primary: #6366f1;
    --clr-primary-dark: #4f46e5;
    --clr-secondary: #8b5cf6;
    --clr-secondary-dark: #7c3aed;
    --clr-cyan: #06b6d4;
    --clr-cyan-dark: #0891b2;
    --clr-amber: #f59e0b;
    --clr-amber-dark: #d97706;
    --clr-emerald: #10b981;
    --clr-emerald-dark: #059669;
    --clr-rose: #f43f5e;

    --gradient-main: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    --gradient-cyber: linear-gradient(135deg, var(--clr-cyan) 0%, var(--clr-primary) 100%);
    --gradient-amber: linear-gradient(135deg, var(--clr-amber) 0%, #ef4444 100%);
    --gradient-emerald: linear-gradient(135deg, var(--clr-emerald) 0%, var(--clr-cyan) 100%);

    --shadow-glow: 0 8px 32px rgba(99, 102, 241, 0.3);
    --shadow-cyan: 0 8px 32px rgba(6, 182, 212, 0.3);
    --shadow-amber: 0 8px 32px rgba(245, 158, 11, 0.3);
    --shadow-emerald: 0 8px 32px rgba(16, 185, 129, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 35%, #0891b2 70%, #06b6d4 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ── Smooth dark/light theme transition ── */
body,
.header,
.section,
.portfolio-stats,
.skill-category,
.skill-tag,
.tl-card,
.stat-item,
.blog-post-card,
.contact-info,
.contact-form,
.availability,
.contact-item,
.creative-footer {
    transition: background 0.35s ease, background-color 0.35s ease,
                border-color 0.35s ease, color 0.35s ease,
                box-shadow 0.35s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigation Styles */
.navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 1rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Right Side Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hide clock on mobile and tablet devices */
@media (max-width: 768px) {
    .nav-right {
        display: none !important;
    }
}

/* Innovative Press Button Toggle Styles */
.time-toggle {
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
}

.toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    position: relative;
}

.toggle-track {
    position: relative;
    width: 60px;
    height: 28px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    overflow: visible;
    user-select: none;
}

.toggle-track::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #6366f1);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-track:hover::before {
    opacity: 1;
}

.toggle-track:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.toggle-track:active {
    transform: translateY(0.5px) scale(0.98);
    box-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.toggle-track.pressed {
    transform: translateY(1px) scale(0.96);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(0, 0, 0, 0.15),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.toggle-slider {
    display: none; /* Hide the sliding element */
}

.toggle-display {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 
        0 0 6px rgba(102, 126, 234, 0.6),
        0 1px 1px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 5;
    position: relative;
    animation: textGlow 3s ease-in-out infinite alternate;
}

.toggle-track.format-12h .toggle-display::before {
    content: '12H';
}

.toggle-track.format-24h .toggle-display::before {
    content: '24H';
}

.toggle-label {
    display: none; /* Hide individual labels */
}

/* Button press animation */
@keyframes buttonPress {
    0% {
        transform: translateY(-1px) scale(1);
    }
    50% {
        transform: translateY(1px) scale(0.96);
    }
    100% {
        transform: translateY(-1px) scale(1);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 6px rgba(102, 126, 234, 0.6),
            0 1px 1px rgba(0, 0, 0, 0.4);
    }
    50% {
        text-shadow: 
            0 0 10px rgba(102, 126, 234, 0.8),
            0 0 15px rgba(102, 126, 234, 0.4),
            0 1px 1px rgba(0, 0, 0, 0.4);
    }
}

.toggle-track.button-pressed {
    animation: buttonPress 0.25s ease-out;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    transform: translateY(-2px);
}

/* Live Clock Styles */
.live-clock {
    text-align: right;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
    animation: clockGlow 2s ease-in-out infinite alternate;
}

.clock-time {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.clock-date {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-top: 1px;
}

@keyframes clockGlow {
    0% {
        box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
    }
    100% {
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
    }
}

/* Responsive Clock */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.5rem 1rem;
    }
    
    .nav-links {
        order: 1;
    }
    
    .nav-right {
        order: 2;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .time-toggle {
        margin-right: 0;
    }
    
    .toggle-track {
        width: 55px;
        height: 26px;
    }
    
    .toggle-display {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }
    
    .live-clock {
        text-align: center;
        font-size: 0.85rem;
        padding: 0.25rem 0.6rem;
    }
    
    .clock-time {
        font-size: 0.9rem;
    }
    
    .clock-date {
        font-size: 0.65rem;
    }
}

.header {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.title {
    color: #7f8c8d;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Profile Image Styles */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.2), 0 0 0 10px rgba(6, 182, 212, 0.1), 0 20px 40px rgba(99, 102, 241, 0.4);
    animation: profileGlow 4s ease-in-out infinite alternate;
}

@keyframes profileGlow {
    0% { box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.2), 0 0 0 10px rgba(6, 182, 212, 0.1), 0 20px 40px rgba(99, 102, 241, 0.4); }
    100% { box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.3), 0 0 0 10px rgba(139, 92, 246, 0.2), 0 20px 60px rgba(6, 182, 212, 0.5); }
}

/* Contact Info Styles (Homepage Header) */
.header .contact-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.header .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.header .contact-item:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.header .contact-item:active {
    transform: translateY(0) scale(1);
}

/* Contact Page Contact Items */
.contact-content .contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #555;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

.contact-content .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s;
}

.contact-content .contact-item:hover::before {
    left: 100%;
}

.contact-content .contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

.contact-content .contact-item:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.contact-content .contact-item:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.contact-content .contact-item:hover .contact-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.contact-content .contact-item:hover .contact-icon::after {
    width: 100%;
    height: 100%;
}

.contact-details h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-details p {
    color: #666;
    margin: 0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-content .contact-item:hover .contact-details h3 {
    color: white;
}

.contact-content .contact-item:hover .contact-details p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-details a {
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.contact-details a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6366f1;
    transition: width 0.3s ease;
}

.contact-details a:hover::after {
    width: 100%;
}

.contact-content .contact-item:hover .contact-details a {
    color: white;
}

.contact-content .contact-item:hover .contact-details a::after {
    background: white;
}

/* Section Styles */
.section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(45deg, #6366f1, #8b5cf6) 1;
    padding-bottom: 0.5rem;
}

/* Section Header Styles (Centered) */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(45deg, #6366f1, #8b5cf6) 1;
    padding-bottom: 0.3rem;
    display: inline-block;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 400;
    max-width: 500px;
    margin: 0.5rem auto 0;
    line-height: 1.4;
}

/* Career Profile */
.career-profile {
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

/* Certifications */
.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.cert-item {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.5);
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--gradient-main);
}

/* AI category heading accent */
.skill-category.ai-category h3::before {
    background: var(--gradient-emerald);
}

/* ALM category heading accent */
.skill-category.alm-category h3::before {
    background: var(--gradient-amber);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #f1f5f9;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #475569;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.skill-tag:hover {
    border-color: var(--clr-primary);
    background: var(--clr-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* AI Skill Tag - Emerald/Cyan theme */
.skill-tag.ai-tag {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    color: #0f766e;
    border: 2px solid rgba(16, 185, 129, 0.25);
}

.skill-tag.ai-tag:hover {
    background: var(--gradient-emerald);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-emerald);
}

/* ALM Skill Tag - Amber/Orange theme */
.skill-tag.alm-tag {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.08));
    color: #b45309;
    border: 2px solid rgba(245, 158, 11, 0.25);
}

.skill-tag.alm-tag:hover {
    background: var(--gradient-amber);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-amber);
}

/* Experience */
.experience-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.company {
    color: #6366f1;
    font-weight: 500;
    font-size: 1.1rem;
}

.duration {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.project {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #6366f1;
}

.project-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.responsibilities {
    color: #555;
}

.responsibilities ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.responsibilities li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.responsibilities li strong {
    color: #2c3e50;
}

/* Education */
.education-item {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid #8b5cf6;
}

.degree {
    font-weight: 600;
    color: #2c3e50;
}

.institution {
    color: #6366f1;
    margin-top: 0.25rem;
}

/* Contact Page Specific Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.contact-form {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* Form Styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Microsoft Technology Gallery Styles */
.gallery-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.scrollable-gallery {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 1rem;
    margin: 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #6366f1 #f1f1f1;
    flex: 1;
}

.scrollable-gallery::-webkit-scrollbar {
    height: 8px;
}

.scrollable-gallery::-webkit-scrollbar-track {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.scrollable-gallery::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.scrollable-gallery::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a6fd8, #6b42a0);
}

.gallery-item {
    position: relative;
    flex: 0 0 300px;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.gallery-item:hover .gallery-image {
    filter: brightness(0.7) blur(2px);
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
    margin: 0;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Scroll Indicators */
.scroll-indicators {
    text-align: center;
    margin-top: 1.5rem;
}

.scroll-hint {
    color: #6366f1;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 25px;
    display: inline-block;
    animation: pulse-hint 2s infinite;
}

@keyframes pulse-hint {
    0%, 100% {
        transform: scale(1);
        background: rgba(102, 126, 234, 0.1);
    }
    50% {
        transform: scale(1.05);
        background: rgba(102, 126, 234, 0.15);
    }
}

/* Microsoft Technology Theme Colors */
.gallery-item:nth-child(1) .gallery-overlay {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.9), rgba(102, 126, 234, 0.9)); /* Azure Blue */
}

.gallery-item:nth-child(2) .gallery-overlay {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(255, 152, 0, 0.9)); /* Power BI Yellow */
}

.gallery-item:nth-child(3) .gallery-overlay {
    background: linear-gradient(135deg, rgba(0, 120, 175, 0.9), rgba(0, 90, 130, 0.9)); /* SharePoint Blue */
}

.gallery-item:nth-child(4) .gallery-overlay {
    background: linear-gradient(135deg, rgba(116, 38, 241, 0.9), rgba(142, 68, 173, 0.9)); /* Power Platform Purple */
}

.gallery-item:nth-child(5) .gallery-overlay {
    background: linear-gradient(135deg, rgba(217, 83, 79, 0.9), rgba(201, 48, 44, 0.9)); /* Office Red */
}

.gallery-item:nth-child(6) .gallery-overlay {
    background: linear-gradient(135deg, rgba(98, 54, 255, 0.9), rgba(72, 34, 204, 0.9)); /* Teams Purple */
}

.gallery-item:nth-child(7) .gallery-overlay {
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.9), rgba(11, 156, 49, 0.9)); /* AI Green */
}

.gallery-item:nth-child(8) .gallery-overlay {
    background: linear-gradient(135deg, rgba(0, 122, 204, 0.9), rgba(40, 60, 70, 0.9)); /* DevOps Blue */
}

/* Gallery Container with Scroll Buttons */
.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.scroll-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.9), rgba(102, 126, 234, 0.9));
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-left {
    left: -25px;
}

.scroll-right {
    right: -25px;
}

/* Creative Footer Styles */
.creative-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.creative-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1, #8b5cf6);
    background-size: 400% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.creative-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-container {
    margin-bottom: 2.5rem;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.quote-container:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.quote-container::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #6366f1;
    font-family: 'Georgia', serif;
    opacity: 0.3;
}

.quote-container::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 4rem;
    color: #8b5cf6;
    font-family: 'Georgia', serif;
    opacity: 0.3;
}

.motivational-quote {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
}

.quote-author {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-author::before {
    content: '— ';
    color: #6366f1;
    font-weight: 600;
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    position: relative;
}

.footer-tagline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    position: relative;
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-tagline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.footer-copyright {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-year {
    font-weight: 700;
    color: #6366f1;
    background: rgba(102, 126, 234, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    animation: yearGlow 3s ease-in-out infinite;
}

@keyframes yearGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
    }
}

/* Enhanced Gradient Animation */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    75% {
        background-position: 0% 50%;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .creative-footer {
        padding: 2rem 0 1.5rem;
    }
    
    .quote-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .motivational-quote {
        font-size: 1.2rem;
        line-height: 1.6;
    }
    
    .quote-author {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    
    .footer-tagline {
        font-size: 1.1rem;
        padding: 0.6rem 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        flex: 0 0 250px;
        height: 200px;
    }
    
    .scrollable-gallery {
        gap: 1rem;
        padding: 1.5rem 0.5rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
    
    .gallery-overlay p {
        font-size: 0.9rem;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-left {
        left: -20px;
    }
    
    .scroll-right {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .motivational-quote {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem auto;
        padding: 0 0.5rem;
    }
    
    .blog-card {
        margin: 0;
    }
    
    .blog-date {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .blog-meta {
        top: 10px;
        left: 10px;
    }
    
    .blog-category {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Contact Availability Section */
.availability {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.availability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    animation: shimmer 2s infinite;
}

.availability h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.availability p {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.availability-status {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.availability-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.4);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Contact Information Section Styles */
.contact-info {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* Tech Stats Styles */
.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Particles Animation for Contact Info */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

/* Responsive Design for Contact Info */
@media (max-width: 768px) {
    .header .contact-info {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .header .contact-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .header .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .header .contact-item {
        width: auto;
        min-width: 200px;
        justify-content: center;
    }
}

/* ================================================
   BLOG PAGE STYLES
   ================================================ */

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    padding: 0 1rem;
    max-width: 1200px;
    width: 100%;
}

/* Blog Section - Clean Reset */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    padding: 0 1rem;
    max-width: 1200px;
    width: 100%;
}

.blog-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #6366f1;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0 1.5rem;
    margin-bottom: 1rem;
}

.blog-category {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.blog-date {
    background: #f8fafc;
    color: #64748b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.blog-title {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    padding: 0 1.5rem;
    min-height: 3.9rem;
    display: flex;
    align-items: center;
}

.blog-excerpt {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    padding: 0 1.5rem;
    flex-grow: 1;
    min-height: 4.8rem;
    display: flex;
    align-items: flex-start;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.difficulty-level {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-level.beginner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.difficulty-level.intermediate {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.difficulty-level.advanced {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.read-time {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.blog-link {
    display: block;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    margin: 0;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid #e2e8f0;
}

.blog-link:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: none;
}

.blog-link.disabled {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #64748b;
    cursor: not-allowed;
}

.blog-link.disabled:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 1rem;
        padding: 0;
    }
    
    .blog-card {
        min-height: 350px;
    }
    
    .blog-header {
        padding: 1rem 1rem 0 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .blog-title {
        font-size: 1.25rem;
        padding: 0 1rem;
        min-height: auto;
    }
    
    .blog-excerpt {
        font-size: 0.9rem;
        padding: 0 1rem;
        min-height: auto;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1rem 0 1rem;
    }
}

/* Blog Image */
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Blog Date Badge */
.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

/* Blog Meta (Category Badge) */
.blog-meta {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.blog-category {
    display: inline-block;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-category {
    background: rgba(102, 126, 234, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Blog Title */
.blog-card h2.blog-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 1.5rem 1.5rem 1rem;
    line-height: 1.4;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card:hover h2.blog-title {
    color: #6366f1;
}

/* Blog Excerpt */
.blog-excerpt {
    color: #555;
    line-height: 1.6;
    margin: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 1.5rem 1.5rem;
}

.blog-tags .tag {
    background: rgba(102, 126, 234, 0.1);
    color: #6366f1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.blog-card:hover .tag {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

/* Read More Link */
.read-more {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.2rem;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.read-more:hover::after,
.blog-card:hover .read-more::after {
    width: 100%;
}

.read-more:hover,
.blog-card:hover .read-more {
    color: #8b5cf6;
    transform: translateX(5px);
}

/* Enhanced Blog Card Elements */
.blog-highlights {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.blog-highlights h4 {
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.blog-highlights ul {
    margin: 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.blog-highlights li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.difficulty-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.difficulty-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-badge.beginner {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.difficulty-badge.intermediate {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.difficulty-badge.advanced {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.read-time {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Coming Soon Section */
.coming-soon {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 255, 0.95));
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.coming-soon h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.coming-soon p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Newsletter Signup */
.newsletter-signup {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    align-items: center;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.newsletter-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

/* ================================================
   BLOG RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem auto;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .blog-card h2.blog-title {
        font-size: 1.2rem;
        margin: 1rem 1rem 0.8rem;
    }
    
    .blog-excerpt {
        margin: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .blog-tags {
        margin: 0 1rem 1rem;
    }
    
    .read-more {
        margin: 0 1rem 1rem;
    }
    
    .coming-soon {
        padding: 2rem 1.5rem;
        margin: 3rem 0;
    }
    
    .coming-soon h2 {
        font-size: 1.6rem;
    }
    
    .newsletter-signup {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-input,
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem auto;
        padding: 0 0.5rem;
    }
    
    .blog-card {
        margin: 0;
    }
    
    .blog-date {
        top: 10px;
        right: 10px;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .blog-meta {
        top: 10px;
        left: 10px;
    }
    
    .blog-category {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .blog-card h2.blog-title {
        font-size: 1.1rem;
        margin: 1rem 1rem 0.5rem;
    }
    
    .blog-excerpt {
        font-size: 0.85rem;
        margin: 0 1rem 0.8rem;
    }
}

/* Responsive Design for Header Contact Info */
@media (max-width: 768px) {
    .header .contact-info {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .header .contact-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .header .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .header .contact-item {
        width: auto;
        min-width: 200px;
        justify-content: center;
    }
}

/* ================================================
   PORTFOLIO STATS SECTION
   ================================================ */

.portfolio-stats {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.portfolio-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.stats-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stats-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(45deg, #6366f1, #8b5cf6) 1;
    padding-bottom: 0.3rem;
    display: inline-block;
}

.stats-subtitle {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 400;
    max-width: 400px;
    margin: 0.5rem auto 0;
    line-height: 1.4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(102, 126, 234, 0.02);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.08), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(102, 126, 234, 0.05);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.stat-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    transition: transform 0.6s ease;
}

.stat-item:hover .stat-icon::before {
    transform: rotate(-45deg) translateX(100%);
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    color: white;
    stroke-width: 2.5;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
}

.stat-item:hover .stat-number {
    transform: scale(1.02);
}

.stat-label {
    font-size: 0.85rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.stat-description {
    font-size: 0.7rem;
    color: #7f8c8d;
    font-weight: 400;
    line-height: 1.3;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.stat-item:hover .stat-label {
    color: #6366f1;
}

.stat-item:hover .stat-description {
    color: #6c757d;
    opacity: 1;
}

/* Individual stat item color variations */
.experience-stat:hover {
    border-color: rgba(40, 167, 69, 0.3);
}

.experience-stat .stat-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.projects-stat:hover {
    border-color: rgba(255, 193, 7, 0.3);
}

.projects-stat .stat-icon {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.migrations-stat:hover {
    border-color: rgba(220, 53, 69, 0.3);
}

.migrations-stat .stat-icon {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.certs-stat:hover {
    border-color: rgba(32, 201, 151, 0.3);
}

.certs-stat .stat-icon {
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

/* Add staggered animation on load */
.stat-item:nth-child(1) {
    animation: statsSlideIn 0.6s ease-out 0.1s both;
}

.stat-item:nth-child(2) {
    animation: statsSlideIn 0.6s ease-out 0.15s both;
}

.stat-item:nth-child(3) {
    animation: statsSlideIn 0.6s ease-out 0.2s both;
}

.stat-item:nth-child(4) {
    animation: statsSlideIn 0.6s ease-out 0.25s both;
}

@keyframes statsSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design for Portfolio Stats */
@media (max-width: 768px) {
    .portfolio-stats {
        padding: 1.2rem;
    }
    
    .stats-title {
        font-size: 1.3rem;
    }
    
    .stats-subtitle {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.8rem;
    }
    
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-description {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .portfolio-stats {
        padding: 1rem;
    }
    
    .stats-header {
        margin-bottom: 1rem;
    }
    
    .stats-title {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .stat-item {
        padding: 1rem 0.6rem;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.6rem;
    }
    
    .stat-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        margin-bottom: 0.15rem;
    }
    
    .stat-description {
        font-size: 0.6rem;
        line-height: 1.2;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0) rotate(180deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    box-shadow: 
        0 4px 20px rgba(102, 126, 234, 0.25),
        0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    outline: none;
    overflow: hidden;
}

/* Button container for better structure */
.back-to-top-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Icon styling */
.back-to-top-icon {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.back-to-top-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
    stroke-width: 2.5;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Progress ring redesigned */
.back-to-top-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.3);
    stroke-width: 2;
    stroke-linecap: round;
    cx: 50%;
    cy: 50%;
    r: calc(50% - 4px);
    stroke-dasharray: 0 157; /* 2π × (50% - 4px) ≈ 157 */
    stroke-dashoffset: 0;
    transition: stroke-dasharray 0.2s ease;
}

/* Show state */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotate(0deg);
    animation: gentleFloat 4s ease-in-out infinite;
}

/* Hover effects */
.back-to-top:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 
        0 8px 30px rgba(102, 126, 234, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover .back-to-top-icon {
    transform: translateY(-2px);
}

.back-to-top:hover .back-to-top-icon svg {
    transform: scale(1.1);
}

/* Active state */
.back-to-top:active {
    transform: scale(0.95) rotate(0deg);
    transition: transform 0.1s ease;
}

/* Pulse animation for scroll events */
.back-to-top.pulse {
    animation: smoothPulse 0.6s ease-out;
}

/* Background glow effect */
.back-to-top::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6, #f093fb, #f5576c);
    background-size: 300% 300%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.back-to-top:hover::before {
    opacity: 0.8;
}

/* Percentage text overlay for mobile */
.back-to-top-percentage {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

/* Animations */
@keyframes gentleFloat {
    0%, 100% { 
        transform: scale(1) rotate(0deg) translateY(0px); 
    }
    50% { 
        transform: scale(1) rotate(0deg) translateY(-3px); 
    }
}

@keyframes smoothPulse {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 
            0 4px 20px rgba(102, 126, 234, 0.25),
            0 2px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.15) rotate(0deg);
        box-shadow: 
            0 8px 35px rgba(102, 126, 234, 0.5),
            0 4px 20px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 
            0 4px 20px rgba(102, 126, 234, 0.25),
            0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

/* Percentage text overlay for mobile */
.back-to-top-percentage {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .back-to-top {
        width: 3.25rem;
        height: 3.25rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .back-to-top-icon svg {
        width: 1.125rem;
        height: 1.125rem;
    }
    
    .progress-ring-circle {
        stroke-dasharray: 0 145;
    }
    
    .back-to-top-percentage {
        opacity: 1;
        bottom: -1.25rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 3rem;
        height: 3rem;
        bottom: 1rem;
        right: 1rem;
    }
    
    .back-to-top-icon svg {
        width: 1rem;
        height: 1rem;
        stroke-width: 3;
    }
    
    .progress-ring-circle {
        stroke-dasharray: 0 132;
        stroke-width: 2.5;
    }
    
    .back-to-top-percentage {
        bottom: -1rem;
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.8) translateY(30px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-overlay.show .popup {
    transform: scale(1) translateY(0);
}

.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.popup-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.popup-icon.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    animation: successPulse 0.6s ease-out;
}

.popup-icon.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    animation: errorShake 0.6s ease-out;
}

.popup-icon.warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    animation: warningBounce 0.6s ease-out;
}

.popup-icon.info {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    animation: infoPulse 0.6s ease-out;
}

.popup h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.popup p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-btn {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

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

.popup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.popup-btn:hover::before {
    left: 100%;
}

/* Popup Animations */
@keyframes successPulse {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

@keyframes infoPulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .popup {
        margin: 1rem;
        padding: 2rem;
        max-width: none;
        width: calc(100% - 2rem);
    }
    
    .popup-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .popup h3 {
        font-size: 1.3rem;
    }
    
    .popup p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .popup {
        padding: 1.5rem;
    }
    
    .popup-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .popup h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .popup p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .popup-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* ================================================
   DETAILED BLOG CONTENT STYLES
   ================================================ */

/* Blog Content Toggle */
.blog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1.5rem;
}

.blog-content.expanded {
    max-height: none;
    overflow: visible;
    padding: 1.5rem;
    border-top: 2px solid #f8f9fa;
    margin-top: 1rem;
}

.article-content {
    line-height: 1.7;
    color: #2c3e50;
}

.article-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    border-left: 4px solid #6366f1;
    padding-left: 1rem;
}

.article-content h4 {
    color: #34495e;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.article-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Code Block Styles */
.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.code-block pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
    font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    font-family: inherit;
    background: none;
    color: inherit;
    padding: 0;
}

/* Special Content Boxes */
.tip-box, .warning-box {
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.tip-box {
    background: #f0f9ff;
    border-left-color: #0ea5e9;
    border: 1px solid #e0f2fe;
}

.tip-box h4 {
    color: #0c4a6e;
    margin-top: 0;
}

.warning-box {
    background: #fef3c7;
    border-left-color: #f59e0b;
    border: 1px solid #fde68a;
}

.warning-box h4 {
    color: #92400e;
    margin-top: 0;
}

.troubleshoot-section {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.troubleshoot-section h4 {
    color: #374151;
    margin-top: 1rem;
}

.troubleshoot-section h4:first-child {
    margin-top: 0;
}

.key-points {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.key-points ul {
    margin: 0;
    padding-left: 1.5rem;
}

.key-points li {
    margin-bottom: 0.75rem;
}

.key-points strong {
    color: #fbbf24;
}

.conclusion {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: #475569;
    text-align: center;
}

/* Toggle Button States */
.toggle-content[data-expanded="true"] {
    background: #ef4444;
}

.toggle-content[data-expanded="true"]:hover {
    background: #dc2626;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.toggle-content[data-expanded="true"]::after {
    content: " ← Collapse Article";
}

/* Mobile Responsive for Blog Content */
@media (max-width: 768px) {
    .blog-content.expanded {
        padding: 1rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.75rem 0;
    }
    
    .article-content h4 {
        font-size: 1.1rem;
        margin: 1.25rem 0 0.5rem 0;
    }
    
    .code-block pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .tip-box, .warning-box, .troubleshoot-section {
        padding: 1rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .blog-content.expanded {
        padding: 0.75rem;
    }
    
    .article-content {
        line-height: 1.6;
    }
    
    .article-content h3 {
        font-size: 1.1rem;
        padding-left: 0.75rem;
        border-left-width: 3px;
    }
    
    .article-content h4 {
        font-size: 1rem;
    }
    
    .code-block pre {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
    
    .conclusion {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* =================================
   CLEAN BLOG STYLES - NO CONFLICTS
   ================================= */

.blog-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.blog-post-card {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #6366f1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0 1.5rem;
    margin-bottom: 1rem;
}

.category-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.category-tag.migration { background: #6366f1; }
.category-tag.development { background: #10b981; }
.category-tag.data { background: #f59e0b; }
.category-tag.automation { background: #8b5cf6; }
.category-tag.devops { background: #ef4444; }
.category-tag.strategy { background: #06b6d4; }

.post-date {
    background: #f8fafc;
    color: #64748b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.post-title {
    color: #1e293b;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    padding: 0 1.5rem;
}

.post-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    padding: 0 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.difficulty {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty.beginner {
    background: #dcfce7;
    color: #166534;
}

.difficulty.intermediate {
    background: #fef3c7;
    color: #92400e;
}

.difficulty.advanced {
    background: #fee2e2;
    color: #991b1b;
}

.read-btn {
    background: #6366f1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.read-btn.disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
}

.read-btn.disabled:hover {
    background: #cbd5e1;
    transform: none;
}

/* Profile Download Section - positioned after contact info in main header */
.header .profile-download-section {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Compact Download Profile Button */
.download-profile-compact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #6366f1;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.download-profile-compact:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-profile-compact:active {
    transform: translateY(0);
}

.download-profile-compact svg {
    transition: transform 0.3s ease;
}

.download-profile-compact:hover svg {
    transform: translateY(1px);
}

/* Mobile Responsive for Profile Download Section */
@media (max-width: 768px) {
    .header .profile-download-section {
        margin-top: 1rem;
    }
    
    .download-profile-compact {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .download-profile-compact svg {
        width: 14px;
        height: 14px;
    }
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-posts-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 1rem;
        padding: 0;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1rem 0 1rem;
    }
    
    .post-title {
        font-size: 1.25rem;
        padding: 0 1rem;
    }
    
    .post-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .read-btn {
        text-align: center;
        width: 100%;
    }
}
/* ============================================
   ANIMATED PROFESSIONAL JOURNEY TIMELINE
   ============================================ */

/*  Container  */
.exp-timeline {
    position: relative;
    padding: 2rem 0 1rem;
}

/* Vertical centre line */
.exp-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--clr-primary) 0%,
        var(--clr-secondary) 40%,
        var(--clr-cyan) 80%,
        transparent 100%);
    transform: translateX(-50%);
    border-radius: 4px;
}

/*  Timeline item wrapper  */
.tl-item {
    position: relative;
    width: 46%;
    margin-bottom: 3rem;
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.tl-item.tl-right {
    margin-left: 54%;
    transform: translateX(60px);
}
.tl-item.tl-left {
    margin-left: 0;
    transform: translateX(-60px);
}
.tl-item.tl-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
.tl-item:nth-child(1) { transition-delay: 0.05s; }
.tl-item:nth-child(2) { transition-delay: 0.15s; }
.tl-item:nth-child(3) { transition-delay: 0.25s; }
.tl-item:nth-child(4) { transition-delay: 0.35s; }
.tl-item:nth-child(5) { transition-delay: 0.45s; }

/*  Dot (node on the line)  */
.tl-dot {
    position: absolute;
    top: 1.2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 2;
    background: white;
    border: 3px solid var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
.tl-item.tl-right .tl-dot {
    left: -64px;
}
.tl-item.tl-left .tl-dot {
    right: -64px;
}

/* Colour variants per company */
.tl-dot--current { border-color: var(--clr-emerald); box-shadow: 0 0 0 5px rgba(16,185,129,0.18); }
.tl-dot--cap     { border-color: var(--clr-primary);  box-shadow: 0 0 0 5px rgba(99,102,241,0.18); }
.tl-dot--acc     { border-color: var(--clr-cyan);     box-shadow: 0 0 0 5px rgba(6,182,212,0.18); }
.tl-dot--hcl     { border-color: var(--clr-amber);    box-shadow: 0 0 0 5px rgba(245,158,11,0.18); }
.tl-dot--vel     { border-color: var(--clr-rose);     box-shadow: 0 0 0 5px rgba(244,63,94,0.18); }

/* Pulse ring on current role */
.tl-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--clr-emerald);
    animation: tl-pulse-ring 2s ease-out infinite;
    opacity: 0;
}
@keyframes tl-pulse-ring {
    0%   { transform: scale(0.9); opacity: 0.7; }
    80%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/*  Card  */
.tl-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(99,102,241,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* no overflow:hidden — arrows and glow must not be clipped */
}
/* gradient top-bar via inset box-shadow trick so overflow:visible still works */
.tl-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 16px 16px 0 0;
}
.tl-dot--current ~ .tl-card::before { background: var(--gradient-emerald); }
.tl-dot--acc     ~ .tl-card::before { background: var(--gradient-cyber); }
.tl-dot--hcl     ~ .tl-card::before { background: var(--gradient-amber); }
.tl-dot--vel     ~ .tl-card::before { background: linear-gradient(135deg, var(--clr-rose) 0%, var(--clr-amber) 100%); }

.tl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(99,102,241,0.18);
}

/*  Connector arrow  */
.tl-item.tl-right .tl-card::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: -10px;
    border: 10px solid transparent;
    border-right-color: #ffffff;
    filter: drop-shadow(-2px 0 2px rgba(0,0,0,0.05));
}
.tl-item.tl-left .tl-card::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    right: -10px;
    border: 10px solid transparent;
    border-left-color: #ffffff;
    filter: drop-shadow(2px 0 2px rgba(0,0,0,0.05));
}

/*  Card content  */
.tl-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}
.tl-badge--current {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(6,182,212,0.12));
    color: #059669;
    border: 1px solid rgba(16,185,129,0.3);
}

.tl-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}
.tl-company {
    font-size: 0.9rem;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.tl-period {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.tl-project-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.08));
    color: #4338ca;
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.9rem;
}

.tl-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.tl-bullets li {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    padding-left: 0;
}

/*  Mobile: single-column left-aligned  */
@media (max-width: 768px) {
    .exp-timeline::before {
        left: 22px;
    }
    .tl-item,
    .tl-item.tl-right,
    .tl-item.tl-left {
        width: calc(100% - 54px);
        margin-left: 54px;
        transform: translateX(30px);
    }
    .tl-item.tl-visible {
        transform: translateX(0);
    }
    .tl-item.tl-right .tl-dot,
    .tl-item.tl-left  .tl-dot {
        left: -50px;
        right: auto;
    }
    .tl-item.tl-left .tl-card::after  { display: none; }
    .tl-item.tl-right .tl-card::after {
        left: -10px;
        right: auto;
        border-right-color: #ffffff;
        border-left-color: transparent;
    }
}
@media (max-width: 480px) {
    .tl-card { padding: 1rem 1.1rem; }
    .tl-role  { font-size: 1rem; }
}

/* ============================================================
   FULL-PAGE DARK THEME
   Triggered by: document.documentElement.classList 'dark-theme'
   (set by the header theme-toggle button via localStorage)
   ============================================================ */

/*  Body & page background  */
:root.dark-theme body {
    color: #e2e8f0;
    background: linear-gradient(135deg, #1e1b4b 0%, #2d1657 35%, #0c3d5c 70%, #0a3344 100%);
}

/*  White card areas  slate-800  */
:root.dark-theme .header,
:root.dark-theme .section,
:root.dark-theme .portfolio-stats {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/*  Headings  */
:root.dark-theme h1 {
    background: linear-gradient(45deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
:root.dark-theme h2,
:root.dark-theme .section-title {
    color: #e2e8f0;
}
:root.dark-theme .section-subtitle,
:root.dark-theme .subtitle,
:root.dark-theme .title {
    color: #94a3b8;
}

/*  General body text  */
:root.dark-theme .career-profile,
:root.dark-theme p,
:root.dark-theme li {
    color: #cbd5e1;
}
:root.dark-theme strong {
    color: #e2e8f0;
}

/*  Contact links in hero  */
:root.dark-theme .header .contact-item {
    background: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.1);
}
:root.dark-theme .header .contact-item:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

/*  Download button  */
:root.dark-theme .download-profile-compact {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}

/*  Portfolio stat cards  */
:root.dark-theme .stat-item {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}
:root.dark-theme .stat-number { color: #e2e8f0; }
:root.dark-theme .stat-label  { color: #94a3b8; }
:root.dark-theme .stat-description { color: #64748b; }

/*  Skill categories & tags  */
:root.dark-theme .skill-category {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.06);
}
:root.dark-theme .skill-category h3 {
    color: #e2e8f0;
}
:root.dark-theme .skill-tag {
    background: #1e293b;
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.08);
}
:root.dark-theme .skill-tag:hover {
    background: var(--clr-primary);
    color: white;
    border-color: transparent;
}
:root.dark-theme .skill-tag.ai-tag {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.25);
}
:root.dark-theme .skill-tag.alm-tag {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.25);
}

/*  Timeline cards  */
:root.dark-theme .exp-timeline::before {
    background: linear-gradient(180deg, #6366f1, #8b5cf6, #06b6d4, transparent);
}
:root.dark-theme .tl-dot {
    background: #1e293b;
    border-color: #6366f1;
}
:root.dark-theme .tl-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
:root.dark-theme .tl-item.tl-right .tl-card::after { border-right-color: #0f172a; }
:root.dark-theme .tl-item.tl-left  .tl-card::after { border-left-color:  #0f172a; }
:root.dark-theme .tl-role    { color: #e2e8f0; }
:root.dark-theme .tl-company { color: #818cf8; }
:root.dark-theme .tl-period  { color: #64748b; }
:root.dark-theme .tl-project-tag {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.25);
}
:root.dark-theme .tl-bullets li { color: #94a3b8; }
:root.dark-theme .tl-card:hover { box-shadow: 0 12px 36px rgba(99, 102, 241, 0.25); }

/*  Education items  */
:root.dark-theme .education-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
:root.dark-theme .degree      { color: #e2e8f0; }
:root.dark-theme .institution { color: #94a3b8; }

/*  Blog cards  */
:root.dark-theme .blog-post-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
:root.dark-theme .blog-post-card:hover {
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}
:root.dark-theme .post-title       { color: #e2e8f0; }
:root.dark-theme .post-description { color: #94a3b8; }
:root.dark-theme .post-meta        { color: #64748b; }
:root.dark-theme .category-tag     { opacity: 0.85; }
:root.dark-theme .read-more-btn {
    color: #818cf8;
    border-color: #818cf8;
}
:root.dark-theme .read-more-btn:hover {
    background: #6366f1;
    color: white;
}

/*  Blog expanded content  */
:root.dark-theme .blog-content.expanded {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.06);
}
:root.dark-theme .article-content h3,
:root.dark-theme .article-content h4 { color: #e2e8f0; }
:root.dark-theme .article-content p  { color: #94a3b8; }
:root.dark-theme .article-content li { color: #94a3b8; }
:root.dark-theme .code-block {
    background: #0a0f1e;
    border-color: rgba(255, 255, 255, 0.08);
}
:root.dark-theme .tip-box {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    color: #94a3b8;
}
:root.dark-theme .warning-box {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
    color: #94a3b8;
}

/*  Contact page (contact.css elements)  */
:root.dark-theme .contact-form-container,
:root.dark-theme .contact-info {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
:root.dark-theme .contact-info h2   { color: #e2e8f0; }
:root.dark-theme .contact-info p    { color: #94a3b8; }
:root.dark-theme .form-group label  { color: #cbd5e1; }
:root.dark-theme .form-group input,
:root.dark-theme .form-group select,
:root.dark-theme .form-group textarea {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}
:root.dark-theme .form-group input:focus,
:root.dark-theme .form-group select:focus,
:root.dark-theme .form-group textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
:root.dark-theme .form-group input::placeholder,
:root.dark-theme .form-group textarea::placeholder { color: #475569; }
:root.dark-theme .form-group select option {
    background: #0f172a;
    color: #e2e8f0;
}
:root.dark-theme .stat-item.contact-stat {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

/*  Footer  */
:root.dark-theme .creative-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top-color: rgba(255, 255, 255, 0.06);
}
:root.dark-theme .quote-container {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}
:root.dark-theme .motivational-quote { color: #e2e8f0; }
:root.dark-theme .footer-tagline     { color: #94a3b8; }
:root.dark-theme .footer-copyright   { color: #64748b; }

/*  Scrollbar in dark mode  */
:root.dark-theme ::-webkit-scrollbar-track { background: #1e293b; }
:root.dark-theme ::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
:root.dark-theme ::-webkit-scrollbar-thumb:hover { background: #6366f1; }
