/* 
======================================
Base Styling & Variables
======================================
*/
:root {
    /* Colors */
    --bg-dark: #0a0f1e;
    --bg-surface: #111827;
    --bg-surface-light: #1e293b;
    --accent-primary: #00d4ff;
    --accent-secondary: #3b82f6;
    --text-primary: #f1f5f9;
    --text-muted: #64748b;
    
    /* Typography */
    --font-heading: 'Space Mono', monospace;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing & Utilities */
    --nav-height: 80px;
    --border-radius: 8px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    /* Glowing Effects */
    --glow-primary: 0 0 15px rgba(0, 212, 255, 0.4);
    --glow-secondary: 0 0 20px rgba(59, 130, 246, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

.accent {
    color: var(--accent-primary);
}

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

a:hover {
    color: var(--accent-primary);
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

/* 
======================================
Layout & Container
======================================
*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--bg-surface-light);
    margin-left: 1rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* 
======================================
Buttons
======================================
*/
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background-color: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.btn-primary:hover {
    background-color: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(241, 245, 249, 0.05);
    transform: translateY(-2px);
}

/* 
======================================
Backgrounds
======================================
*/
#particles-js {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* More styles will be added for sections... */

/* 
======================================
Navigation
======================================
*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background-color: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

header.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #10b981; /* Green dot */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: pulse 2s infinite;
}

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

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

.nav-links a {
    font-size: 0.9rem;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-fast);
    box-shadow: var(--glow-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* 
======================================
Hero Section
======================================
*/
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 800px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: 50px;
}

.location-badge i {
    color: var(--accent-primary);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-primary);
    animation: blink 1s infinite;
}

.cursor.typing {
    animation: none;
}

@keyframes blink {
    0% { background-color: var(--accent-primary); box-shadow: var(--glow-primary); }
    49% { background-color: var(--accent-primary); box-shadow: var(--glow-primary); }
    50% { background-color: transparent; box-shadow: none; }
    99% { background-color: transparent; box-shadow: none; }
    100% { background-color: var(--accent-primary); box-shadow: var(--glow-primary); }
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

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

.social-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
    text-shadow: var(--glow-primary);
}

/* Base Responsive styles */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Temp hide for mobile */
    }
    .hamburger {
        display: block;
    }
    .d-none-sm {
        display: none;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* 
======================================
About Section & Stats
======================================
*/
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-surface-light);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent-primary);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-card .plus {
    font-size: 2.5rem;
    color: var(--accent-primary);
    font-family: var(--font-heading);
}

.stat-card p {
    margin: 0;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 
======================================
Projects Grid & Cards
======================================
*/
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-primary);
    border-color: rgba(0, 212, 255, 0.3);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background-color: var(--bg-surface-light);
    color: var(--text-primary);
}

.badge.highlight {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

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

.project-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.project-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #10b981;
}

.project-metrics i {
    margin-right: 0.3rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.project-desc {
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.project-links {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

.project-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.project-link i {
    font-size: 1.2rem;
}

.project-link.live-demo {
    color: var(--accent-primary);
}

.project-link.live-demo:hover {
    text-shadow: var(--glow-primary);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* 
======================================
Timeline (Experience)
======================================
*/
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: var(--bg-surface-light);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--bg-dark);
    border: 4px solid var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-secondary);
    box-shadow: var(--glow-secondary);
}

.timeline-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    border-color: rgba(59, 130, 246, 0.3);
}

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

.timeline-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent-primary);
    background-color: rgba(0, 212, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

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

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }
    .timeline-dot {
        left: 6px;
    }
    .timeline-item {
        padding-left: 45px;
    }
    .timeline-content {
        padding: 1.5rem;
    }
}

/* 
======================================
Education Grid
======================================
*/
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.edu-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    border-top: 3px solid var(--bg-surface-light);
    transition: all var(--transition-normal);
}

.edu-card:hover {
    border-top-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.edu-header {
    margin-bottom: 1rem;
}

.edu-date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.edu-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.edu-card h4 {
    font-size: 1rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.edu-gpa {
    font-family: var(--font-heading);
    color: #10b981;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    background-color: rgba(16, 185, 129, 0.1);
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.edu-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* 
======================================
Skills Section
======================================
*/
.skills-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skill-category h3 i {
    color: var(--accent-primary);
}

.skill-badgelist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-badgelist span {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    cursor: default;
}

.skill-badgelist span:hover {
    border-color: var(--accent-primary);
    background-color: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.1);
}

/* Highlighted Domain Expertises */
.highlighted-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge-domain {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-size: 1rem;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.05);
    transition: all var(--transition-normal);
}

.badge-domain:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

/* Skill Bars */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

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

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    width: 0; /* Will be set and animated via JS */
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
}

/* 
======================================
Contact Section & Services
======================================
*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    margin: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    background-color: rgba(0, 212, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--bg-surface-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1);
}

.btn-submit {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
}

.btn-submit:hover {
    background-color: var(--accent-primary);
    color: var(--bg-dark);
    box-shadow: var(--glow-primary);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* 
======================================
Footer
======================================
*/
footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--bg-surface-light);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--accent-primary);
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

/* 
======================================
Animation Utilities
======================================
*/
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

