:root {
    --radius: .625rem;
    --background: #0d0d12;
    --foreground: #e4e4e7;
    --card: #1a1a1f;
    --card-foreground: #e4e4e7;
    --popover: #18181b;
    --popover-foreground: #e4e4e7;
    --primary: #3b82f6;
    --primary-foreground: #ffffff;
    --secondary: #27272a;
    --secondary-foreground: #e4e4e7;
    --muted: #27272a;
    --muted-foreground: #a1a1aa;
    --accent: #27272a;
    --accent-foreground: #e4e4e7;
    --destructive: #ef4444;
    --border: rgba(255, 255, 255, 0.1);
    --input: rgba(255, 255, 255, 0.15);
    --ring: #3b82f6;
    --font-roboto: "Roboto", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-roboto);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

section {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle 500px at center, white, transparent);
    -webkit-mask-image: radial-gradient(circle 500px at center, white, transparent);
    transform: skewY(-12deg);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 64rem) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 64rem) {
    .hero-content {
        text-align: left;
    }
}

.hero-greeting {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.hero-name {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: #ffffff;
}

@media (min-width: 40rem) {
    .hero-name {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

@media (min-width: 48rem) {
    .hero-description {
        font-size: 1.125rem;
    }
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

@media (min-width: 48rem) {
    .hero-image {
        width: 400px;
        height: 400px;
    }
}

/* ========================================
   HACKTHEBOX CODE WINDOW THEME
======================================== */

.code-window {
    max-width: 48rem;
    margin: 0 auto;
    background: #011627;
    border: 1px solid rgb(0 149 255 / 4%);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(157, 255, 0, 0.05);
}

.window-header {
    background: #01121f;
    padding: 0.6rem 0rem;
    display: flex;
    align-items: center;
    gap: 0rem;
    border-bottom: 1px solid rgb(0 149 255 / 10%);
}

.tsx-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
  }
  
  .tsx-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  

.window-header span {
    color: #fffffffd;
    font-size: 0.813rem;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: 500;
    margin-left: 0.5rem;
}

.code-content {
    padding: 1.25rem 2rem;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    background: #011627;
    max-height: 708px;
    overflow-y: auto;
}

/* Custom Scrollbar - HackTheBox Style */
.code-content::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.code-content::-webkit-scrollbar-track {
    background: #01121f;
}

.code-content::-webkit-scrollbar-thumb {
    background: rgba(157, 255, 0, 0.2);
    border-radius: 5px;
}

.code-content::-webkit-scrollbar-thumb:hover {
    background: rgba(157, 255, 0, 0.3);
}

.code-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(157, 255, 0, 0.2) #01121f;
}

.code-content pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d6deeb;
    font-weight: 400;
}

@media (min-width: 40rem) {
    .code-content pre {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* HackTheBox Token Colors */
.token.keyword { 
    color: #c792ea;
    font-style: italic;
}

.token.type { 
    color: #9fef00;
    font-weight: 500;
}

.token.string { 
    color: #9fef00;
}

.token.property { 
    color: #82aaff;
}

.token.boolean { 
    color: #ff6b6b;
}

.token.punctuation { 
    color: #d6deeb;
}

.token.comment {
    color: #637777;
    font-style: italic;
}

.token.function {
    color: #82aaff;
}

.token.class-name {
    color: #9fef00;
}

.token.number {
    color: #f78c6c;
}

.token.operator {
    color: #c792ea;
}

/* About Section */
.about-section {
    padding: 6rem 0;
}

.about-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 40rem) {
    .section-title {
        font-size: 2.5rem;
    }
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 48rem) {
    .about-text {
        font-size: 1.125rem;
    }
}

/* Responsive About Section */
@media (max-width: 768px) {
    .about-section div[style*="grid-template-columns: 1.2fr 0.8fr"] {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .about-section img {
        margin: 0 auto;
    }
}

/* Timeline Section */
.timeline-section {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    font-size: 1rem;
}

@media (min-width: 40rem) {
    .section-subtitle {
        font-size: 1.125rem;
    }
}

.timeline {
    max-width: 56rem;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

@media (min-width: 48rem) {
    .timeline::before {
        right: 50%;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-content {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-right: 3.75rem;
    text-align: right;
}

@media (min-width: 48rem) {
    .timeline-content {
        width: calc(50% - 2.5rem);
        margin-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: calc(50% + 2.5rem);
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: calc(50% + 2.5rem);
        text-align: left;
    }
}

.timeline-dot {
    position: absolute;
    right: 0.75rem;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 3px solid var(--background);
    z-index: 2;
}

@media (min-width: 48rem) {
    .timeline-dot {
        right: calc(50% - 8px);
    }
}

.timeline-year {
    font-size: 0.875rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

@media (min-width: 40rem) {
    .timeline-title {
        font-size: 1.25rem;
    }
}

.timeline-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 68rem;
    margin: 0 auto;
}

@media (min-width: 48rem) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




.project-card {
    background: rgba(26, 26, 31, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Featured Project Card */
.featured-project {
    background: linear-gradient(135deg, rgba(26, 95, 58, 0.15) 0%, rgba(45, 134, 89, 0.15) 100%);
    border: 1.5px solid rgba(45, 134, 89, 0.3);
    box-shadow: 0 0 20px rgba(45, 134, 89, 0.1);
    animation: featuredGlow 3s ease-in-out infinite;
    position: relative;
}

@keyframes featuredGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(45, 134, 89, 0.1);
    }
    50% {
        box-shadow: 0 0 25px rgba(45, 134, 89, 0.2);
    }
}

.featured-project:hover {
    border-color: rgba(45, 134, 89, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}



@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.project-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.project-icon-img {
    width: 100%;
    height: 200px;
    background: rgba(26, 26, 31, 0.8);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
    animation: projectIconEntry 0.6s ease-out;
    transition: all 0.3s ease;
}

.project-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@keyframes projectIconEntry {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.project-card:hover .project-icon-img {
    border-color: rgba(96, 165, 250, 0.4);
}

.project-card:hover .project-icon-img img {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.project-link:hover {
    gap: 0.75rem;
    color: #764ba2;
}

.project-link svg {
    width: 16px;
    height: 16px;
}

/* Qanut Link Special Styling */
.qanut-link {
    background: linear-gradient(135deg, #1a5f3a 0%, #2d8659 100%);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.qanut-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 134, 89, 0.4);
    background: linear-gradient(135deg, #2d8659 0%, #1a5f3a 100%);
}

/* FindFX Card Special Styling */
.findfx-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.findfx-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.2);
}

.findfx-card .project-icon-img {
    border-color: rgba(168, 85, 247, 0.3);
}

.findfx-link {
    background: linear-gradient(135deg, #a955f7 0%, #7f3aed 100%);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(174, 85, 247, 0.3);
}

.findfx-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(161, 85, 247, 0.5);
    background: linear-gradient(135deg, #963aed 0%, #9b55f7 100%);
}


/* riddles Card Special Styling */
.riddles-card {
    background: linear-gradient(135deg, rgba(58, 136, 237, 0.1) 0%, rgba(85, 142, 247, 0.1) 100%);
    border: 1.5px solid rgba(85, 123, 247, 0.25);
    box-shadow: 0 0 20px rgba(85, 109, 247, 0.1);
}

.riddles-card:hover {
    border-color: rgba(85, 136, 247, 0.4);
    box-shadow: 0 8px 24px rgba(85, 115, 247, 0.2);
}

.riddles-card .project-icon-img {
    border-color: rgba(85, 123, 247, 0.3);
}

.riddles-link {
    background: linear-gradient(135deg, #557bf7 0%, #3a6aed 100%);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(85, 150, 247, 0.3);
}

.riddles-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(85, 123, 247, 0.5);
    background: linear-gradient(135deg, #3a73ed 0%, #556df7 100%);
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a5f3a 0%, #2d8659 100%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.page-transition-overlay.active {
    opacity: 1;
}

/* Skills Section */
.skills-section {
    padding: 6rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 68rem;
    margin: 0 auto;
}

@media (min-width: 48rem) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 64rem) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.skill-card {
    background: rgba(26, 26, 31, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.skill-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-card h3 .emoji {
    font-size: 1.5rem;
}

/* Skill Icon SVG Styling */
.skill-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(64%) sepia(45%) saturate(1588%) hue-rotate(192deg) brightness(102%) contrast(99%);
}

.skill-card:hover .skill-icon img {
    filter: brightness(0) saturate(100%) invert(41%) sepia(51%) saturate(1134%) hue-rotate(228deg) brightness(91%) contrast(91%);
    transform: scale(1.1) rotate(5deg);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(39, 39, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    border-color: rgba(96, 165, 250, 0.3);
    color: var(--foreground);
    background: rgba(39, 39, 42, 0.7);
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
}

footer p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(33, 33, 33, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3rem;
    padding: 0.5rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeInDown 0.6s ease-out forwards;
    max-width: calc(100% - 2rem);
    width: auto;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--muted-foreground);
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

nav a:hover::before {
    transform: translateX(0);
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--foreground);
    transform: translateY(-2px);
}

nav a:active {
    transform: translateY(0);
}

nav a svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

nav a:hover svg {
    transform: scale(1.1) rotate(5deg);
}

nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--foreground);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 2rem;
    color: #60a5fa;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Fade in animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--foreground);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

/* Navigation - Mobile */
@media (max-width: 768px) {
    nav {
        top: 1rem;
        padding: 0.4rem 0.75rem;
        max-width: calc(100% - 1.5rem);
        border-radius: 2rem;
    }
    
    nav ul {
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    nav ul::-webkit-scrollbar {
        display: none;
    }
    
    nav li {
        flex-shrink: 0;
    }
    
    nav a {
        padding: 0.45rem 0.65rem;
        font-size: 0.7rem;
        gap: 0.35rem;
    }
    
    nav a svg {
        width: 13px;
        height: 13px;
    }
    
    nav a:hover {
        transform: none;
    }
}

/* Code Window - Mobile */
@media (max-width: 768px) {
    .code-window {
        margin-top: 2rem;
        max-width: 100%;
        border-radius: 0.375rem;
    }
    
    .window-header {
        padding: 0.5rem 0.75rem;
    }
    
    .window-header span {
        font-size: 0.75rem;
        margin-left: 0.35rem;
    }
    
    
    .code-content {
        padding: 1rem;
        max-height: 560px;
    }
    
    .code-content pre {
        font-size: 0.75rem !important;
        line-height: 1.5;
    }
}

/* Hero Section - Mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    
    .hero-name {
        font-size: 2.5rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.6;
    }
    
    .hero-greeting {
        font-size: 1rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        width: 44px;
        height: 44px;
    }
}

/* About - Mobile */
@media (max-width: 768px) {
    .about-section img {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto;
    }
}

/* Timeline - Mobile */
@media (max-width: 768px) {
    .timeline-content {
        margin-right: 3rem;
        padding: 1.25rem;
    }
    
    .timeline-title {
        font-size: 1.125rem !important;
    }
}

/* Projects - Mobile */
@media (max-width: 768px) {
    .projects-section {
        padding: 4rem 0;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-icon-img {
        height: 160px;
    }

}

/* Skills - Mobile */
@media (max-width: 768px) {
    .skills-section {
        padding: 4rem 0;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
}

/* Section Titles - Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem !important;
    }
    
    nav {
        padding: 0.35rem 0.6rem;
    }
    
    nav a {
        padding: 0.4rem 0.55rem;
        font-size: 0.65rem;
    }
    
    .code-content pre {
        font-size: 0.7rem !important;
    }
    

}

/* Desktop Enhancements */
@media (min-width: 769px) {
    .project-card:hover {
        transform: translateY(-6px);
    }
    
    .featured-project:hover {
        transform: translateY(-6px) scale(1.01);
    }
}

/* Universal */
* {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .hero-description,
    .about-text,
    .timeline-description,
    .project-card p {
        text-align: justify;
        hyphens: auto;
    }
}