/*
Theme Name: Vikash Portfolio Theme
Theme URI: https://vikashgoyal.com
Author: Vikash Goyal
Author URI: https://vikashgoyal.com
Description: A modern, high-performance glassmorphism portfolio theme built securely for SEO Specialists.
Version: 1.0.0
Text Domain: vikash-portfolio
*/

/* Variables and Reset */
:root {
    --bg-color: #09090b;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-light: #38bdf8;
    --accent-dark: #818cf8;
    --accent-gradient: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Background Gradients (Glowing effect) */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -200px;
    background: rgba(56, 189, 248, 0.15);
}

.glow-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -200px;
    background: rgba(129, 140, 248, 0.15);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(9, 9, 11, 0.85);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-light);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-light);
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-3px);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
}

.hover-glow:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
    transform: translateY(-5px);
    transition: var(--transition);
}

/* Micro-animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Section Titles */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title span {
    color: var(--accent-light);
    font-size: 1.2rem;
    font-family: var(--font-body);
}

.section-title::after {
    content: "";
    height: 1px;
    background: var(--card-border);
    flex-grow: 1;
    margin-left: 1rem;
}

.section-subtitle {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Hero Section */
.hero-content {
    max-width: 800px;
}

.greeting {
    color: var(--accent-light);
    font-family: var(--font-body);
    margin-bottom: 1rem;
}

.name {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

#typewriter {
    color: var(--accent-light);
}

.cursor {
    animation: blink 1s infinite;
}

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

.description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

.strength-item {
    margin-top: 1.5rem;
}

.strength-item h4 {
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

/* Experience Section (Timeline) */
.timeline {
    position: relative;
    max-width: 800px;
}

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

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent-light);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.timeline-date {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-light);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-item {
    display: flex;
    flex-direction: column;
}

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

.project-header h3 {
    font-size: 1.4rem;
}

.project-link {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

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

.project-badge {
    background: rgba(129, 140, 248, 0.2);
    color: var(--accent-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-desc {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.project-role {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.project-features {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.project-tag {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-light);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Achievements Bullet List */
.achievement-bullets li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.achievement-bullets li i {
    color: var(--accent-light);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

/* Skills Section */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    padding: 0.6rem 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent-light);
    transform: translateY(-3px);
}

/* Certifications Section */
.certifications-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cert-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cert-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.cert-image {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid var(--card-border);
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.cert-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact {
    padding-bottom: 150px;
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-card .section-title {
    justify-content: center;
}

.contact-card .section-title::after {
    display: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--accent-light);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--card-border);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-bottom: 1px solid var(--card-border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .certifications-content {
        grid-template-columns: 1fr;
    }
    
    .cert-card {
        flex-direction: column;
        text-align: center;
    }
    
    .cert-image {
        width: 100%;
        max-width: 300px;
    }
}
