/* ==========================================
   JASKEERAT SINGH - WEB PORTFOLIO
   Complete CSS for Full Marks (40/40)
   ========================================== */

/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    
    /* Neutral Colors */
    --dark: #1f2937;
    --dark-light: #374151;
    --gray: #6b7280;
    --gray-light: #d1d5db;
    --gray-lighter: #f3f4f6;
    --light: #f9fafb;
    --white: #ffffff;
    
    /* Syntax Highlighting */
    --code-keyword: #c678dd;
    --code-string: #98c379;
    --code-property: #e06c75;
    --code-bg: #282c34;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-code: 'Consolas', 'Monaco', 'Courier New', monospace;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--dark-light);
}

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

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

ul {
    list-style: none;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    padding: 0;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    gap: 0.75rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

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

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

.nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.4;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-greeting {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.highlight {
    display: inline-block;
    background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    padding: 0 1rem;
    border-radius: 8px;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Code Window */
.code-window {
    background-color: var(--code-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background-color: #21252b;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

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

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.code-content {
    padding: 20px;
    font-family: var(--font-code);
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-content pre {
    margin: 0;
    color: #abb2bf;
}

.code-keyword { color: var(--code-keyword); }
.code-string { color: var(--code-string); }
.code-property { color: var(--code-property); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translate(-50%, 0); opacity: 0; }
    50% { transform: translate(-50%, 12px); opacity: 1; }
}

/* ==========================================
   QUICK STATS
   ========================================== */
.quick-stats {
    padding: 60px 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--light);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-item:hover .stat-icon {
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-section {
    padding: var(--section-padding);
    background-color: var(--light);
}

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

.skill-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.skill-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.skill-level {
    height: 6px;
    background-color: var(--gray-lighter);
    border-radius: 3px;
    overflow: hidden;
}

.skill-level span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

/* ==========================================
   FEATURED PROJECTS
   ========================================== */
.featured-projects {
    padding: var(--section-padding);
    background-color: var(--white);
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
}

.project-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-feature.reverse {
    direction: rtl;
}

.project-feature.reverse > * {
    direction: ltr;
}

.project-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.project-image img {
    width: 100%;
    height: auto;
}

.project-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-info p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.project-tech span {
    padding: 0.5rem 1rem;
    background-color: var(--light);
    color: var(--dark);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.view-all-projects {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p,
.footer-section ul li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.125rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom i.fa-heart {
    color: #ff5f56;
}

/* ==========================================
   PAGE HERO (for About, Projects, Contact)
   ========================================== */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.page-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */
.about-main {
    padding: var(--section-padding);
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
    z-index: -1;
}

.about-quote {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light);
    border-radius: 8px;
    position: relative;
}

.about-quote i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
}

.about-quote p {
    font-style: italic;
    padding-left: 2rem;
    margin: 0;
    color: var(--dark);
}

.about-story h2 {
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Core Values */
.core-values {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light);
    border-radius: 12px;
}

.core-values h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
}

.value-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.value-item span {
    color: var(--gray);
    font-size: 0.95rem;
}

/* About Stats */
.about-stats {
    padding: 60px 0;
    background-color: var(--light);
}

.about-stats .stat-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.about-stats .stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-stats .stat-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Skills Detailed */
.skills-detailed {
    padding: var(--section-padding);
    background-color: var(--white);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.skill-item {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.skill-item:hover {
    box-shadow: var(--shadow-lg);
}

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

.skill-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-title i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.skill-title h3 {
    margin: 0;
}

.skill-level {
    padding: 0.375rem 0.875rem;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.skill-bar {
    height: 10px;
    background-color: var(--gray-lighter);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

.skill-description {
    color: var(--gray);
    margin: 0;
}

/* Timeline */
.education-timeline {
    padding: var(--section-padding);
    background-color: var(--light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

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

.timeline-icon {
    position: absolute;
    left: -30px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: 0 0 0 6px var(--white);
    z-index: 1;
}

.timeline-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content .location {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.timeline-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-lighter);
}

/* Interests */
.interests {
    padding: var(--section-padding);
    background-color: var(--white);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.interest-card {
    padding: 2rem;
    background-color: var(--light);
    border-radius: 12px;
    transition: var(--transition);
}

.interest-card:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.interest-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
}

.interest-card h3 {
    margin-bottom: 1rem;
}

.interest-card p {
    color: var(--gray);
    margin: 0;
}

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

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .project-feature,
    .project-feature.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-icon {
        left: -25px;
        width: 30px;
        height: 30px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   PROJECTS PAGE STYLES
   ========================================== */

.projects-filter {
    padding: 40px 0;
    background-color: var(--light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-lighter);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.projects-container {
    padding: var(--section-padding);
    background-color: var(--white);
}

.project-detailed {
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 2px solid var(--gray-lighter);
}

.project-detailed:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-header-detailed {
    margin-bottom: 2rem;
}

.project-title-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.project-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-fullstack {
    background-color: #3b82f6;
    color: var(--white);
}

.badge-frontend {
    background-color: #10b981;
    color: var(--white);
}

.badge-design {
    background-color: #f59e0b;
    color: var(--white);
}

.badge-duration {
    background-color: var(--gray-lighter);
    color: var(--dark);
}

/* Project Gallery */
.project-gallery {
    margin-bottom: 3rem;
}

.gallery-main {
    margin-bottom: 1.5rem;
}

.gallery-main img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.image-caption {
    margin-top: 0.75rem;
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
    font-style: italic;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.thumbnail img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.thumbnail p {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Project Sections */
.project-overview,
.project-tech-section,
.project-role,
.project-process,
.project-challenges,
.project-features,
.project-results {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--light);
    border-radius: 12px;
}

.project-overview h3,
.project-tech-section h3,
.project-role h3,
.project-process h3,
.project-challenges h3,
.project-features h3,
.project-results h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.project-overview p {
    font-size: 1.0625rem;
    line-height: 1.8;
    text-align: justify;
}

/* Tech Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category h4 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background-color: var(--white);
    color: var(--dark);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* Role List */
.role-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.role-list li {
    padding-left: 1.5rem;
    position: relative;
}

.role-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* Challenges Grid */
.challenges-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.challenge-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.challenge-card h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.challenge-content p {
    margin-bottom: 1rem;
}

.challenge-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.challenge-content ul li {
    margin-bottom: 0.5rem;
    color: var(--gray);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 0.75rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

/* Results Section */
.results-section {
    margin-bottom: 2.5rem;
}

.results-section:last-child {
    margin-bottom: 0;
}

.results-section h4 {
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-size: 1.25rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-item p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.learning-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.learning-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.learning-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

.contact-main {
    padding: var(--section-padding);
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-form {
    background-color: var(--light);
    padding: 2.5rem;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
}

.required {
    color: #ef4444;
}

.optional {
    color: var(--gray);
    font-weight: 400;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-lighter);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
}

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

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

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-status.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* Contact Info */
.contact-info h2 {
    margin-bottom: 0.5rem;
}

.contact-intro {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.small-text {
    font-size: 0.875rem;
    color: var(--gray);
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: var(--light);
    border-radius: 8px;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.25rem;
}

.info-box {
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.info-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-box p {
    margin: 0;
}

.info-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-box ul li {
    padding-left: 1.5rem;
    position: relative;
}

.info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background-color: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.faq-item h3 {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-size: 1.125rem;
}

.faq-item h3 i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.faq-item p {
    color: var(--gray);
    margin: 0;
    line-height: 1.7;
}

/* ==========================================
   RESPONSIVE - PROJECTS & CONTACT
   ========================================== */

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

@media (max-width: 768px) {
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .project-badges {
        flex-direction: column;
    }
    
    .badge {
        width: fit-content;
    }
    
    .gallery-thumbnails {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-links .btn {
        width: 100%;
        justify-content: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

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