:root {
    /* Colors */
    --bg-color: #09090b; /* Very dark zinc */
    --surface-color: rgba(24, 24, 27, 0.6); /* Slightly lighter zinc with opacity for glass effect */
    --surface-color-solid: #18181b;
    --surface-color-hover: rgba(39, 39, 42, 0.8);
    --primary-color: #a855f7; /* Purple accent */
    --primary-hover: #b065f8;
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    --border-color: rgba(63, 63, 70, 0.4);
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --section-spacing: 60px;
    
    /* Effects */
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(12px);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Background Effects */
.hero-bg-polygons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1a0b2e;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.poly {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
}

.poly-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vh;
    background: linear-gradient(135deg, #130623 0%, #1a0b2e 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.8;
}

.poly-2 {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 70vh;
    background: linear-gradient(45deg, #0e0419 0%, #170928 100%);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    opacity: 0.9;
}

.poly-3 {
    top: -5%;
    right: -5%;
    width: 40vw;
    height: 50vh;
    background: linear-gradient(225deg, #1f0e38 0%, #150926 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    opacity: 0.7;
}

.poly-4 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 80vh;
    background: linear-gradient(315deg, #0c0417 0%, #190a2c 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.85;
}

.poly-5 {
    top: 20%;
    left: 20%;
    width: 30vw;
    height: 40vh;
    background: linear-gradient(180deg, #220f3d 0%, #1a0b2e 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0.15;
}

.glow-orb {
    position: fixed;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 120vw;
    height: 120vh;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.25) 0%, rgba(26, 11, 46, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-sparkle {
    position: absolute;
    bottom: 50px;
    right: 50px;
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.4;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.2; transform: scale(0.9) rotate(0deg); }
    100% { opacity: 0.6; transform: scale(1.1) rotate(15deg); }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

h2 span {
    color: var(--primary-color);
}

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

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

/* Glass Card Reusable Component */
.glass-card {
    background: var(--surface-color);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-medium), background var(--transition-fast), border-color var(--transition-fast);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--surface-color-hover);
    border-color: rgba(168, 85, 247, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(168, 85, 247, 0.1);
}

.btn-block {
    width: 100%;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.navbar {
    display: flex;
    gap: 32px;
}

.navbar a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.navbar a:hover, .navbar a.active {
    color: var(--text-main);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

/* Base Section Padding */
section {
    padding: var(--section-spacing) 0;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.hero-title {
    font-size: clamp(5rem, 10vw, 8.5rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 24px;
    letter-spacing: -4px;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 450px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-qr {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    max-width: max-content;
}

.hero-qr img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.hero-qr div {
    display: flex;
    flex-direction: column;
}

.qr-title {
    font-size: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
    font-weight: 600;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-ring-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.ring-1 { width: 100%; height: 100%; border-style: dashed; animation: spin 40s linear infinite; }
.ring-2 { width: 85%; height: 85%; border-color: rgba(255,255,255,0.05); }
.ring-3 { width: 70%; height: 70%; background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%); }

.profile-img-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 10;
    border: 4px solid var(--surface-color-solid);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
}

.floating-badge {
    position: absolute;
    bottom: 20%;
    right: 5%;
    background: var(--surface-color-solid);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.badge-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.badge-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

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

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    align-items: flex-start;
}

.card-icon {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.skills-bars-container h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.skill-bar-group {
    margin-bottom: 24px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    position: relative;
    /* Glow effect */
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    transform-origin: left;
    animation: scaleX 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.skills-tags-container h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tag {
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tag:hover {
    color: var(--text-main);
}

.languages-box {
    padding: 24px;
}

.languages-box p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.languages-box .divider {
    color: var(--border-color);
    margin: 0 8px;
}

/* Education Section */
.education h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
}

/* Add a line connecting the dots */
.timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 24px;
    width: calc(100% - 48px);
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-item {
    padding: 32px;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    position: absolute;
    top: 50px;
    left: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--bg-color);
    z-index: 2;
}

/* Reset layout for horizontal timeline dots based on the image design */
.timeline::before {
    display: none;
}
.timeline-dot {
    left: -48px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-icon {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.timeline-content h4 {
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 12px;
}

.timeline-content .date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

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

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 20px;
    position: relative;
}

.contact-icon {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.contact-details span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.contact-details a, .contact-details p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.external-link {
    position: absolute;
    right: 20px;
    color: var(--text-muted);
    opacity: 0.5;
}

.contact-item:hover .external-link {
    opacity: 1;
    color: var(--primary-color);
}

.contact-qr-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.contact-qr-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 250px;
}

.contact-qr-box img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.qr-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.qr-info ion-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form-container {
    padding: 40px;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(168, 85, 247, 0.05);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.2rem;
}

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

.footer-made-with {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
}

.heart-icon {
    color: var(--primary-color);
}

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

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

@keyframes scaleX {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Scroll Reveals (handled by JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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


/* ----------------------------------- */
/* PORTFOLIO PAGE STYLES */
/* ----------------------------------- */
.portfolio-header {
    background: transparent;
    border-bottom: none;
    padding-top: 20px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--text-main);
}

.portfolio-main {
    padding-top: 140px;
}

.portfolio-intro {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-intro .section-header {
    margin-bottom: 16px;
}

.portfolio-intro .section-subtitle::after {
    display: none;
}

.portfolio-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.portfolio-title span {
    color: var(--primary-color);
}

.portfolio-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.filter-btn:hover {
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--text-main);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 40px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-img {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.tools-used {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tools-used span {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 12px;
}

.duration {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: monospace;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .skills-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-desc {
        text-align: center;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
    }
    
    .navbar.active {
        display: flex;
    }
    
    .portfolio-grid {
        grid-template-columns: minmax(280px, 1fr);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .profile-ring-container {
        width: 300px;
        height: 300px;
    }
    
    .profile-img-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .floating-badge {
        bottom: 10%;
        right: -5%;
        padding: 8px 12px;
    }
    
    .timeline-item {
        padding: 24px;
        margin-left: 20px;
    }
    
    .timeline-dot {
        left: -32px;
    }
    
    .timeline-item::before {
        left: -24px;
        width: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .project-img {
        height: 220px;
    }
    
    .project-card {
        margin: 0 10px;
    }
}
