/* ============================================
   CSS VARIABLES & THEME SYSTEM
   ============================================ */
:root {
    /* Color System */
    --color__bg__primary: #f0f2f5;
    --color__bg__secondary: #ffffff;
    --color__text__primary: #1a202c;
    --color__text__secondary: #4a5568;
    --color__text__muted: #718096;
    --color__accent__primary: #4f46e5;
    --color__accent__secondary: #7c3aed;
    --color__shadow__light: #ffffff;
    --color__shadow__dark: #d1d9e6;
    --color__success: #10b981;
    --color__warning: #f59e0b;
    --color__error: #ef4444;
    --color__info: #3b82f6;
    
    /* Gradient System */
    --gradient__primary: linear-gradient(135deg, 
        var(--color__accent__primary) 0%, 
        var(--color__accent__secondary) 100%);
    --gradient__subtle: linear-gradient(135deg, 
        rgba(79, 70, 229, 0.1) 0%, 
        rgba(124, 58, 237, 0.1) 100%);
    
    /* Depth System */
    --shadow__outset: 
        4px 4px 8px var(--color__shadow__dark),
        -4px -4px 8px var(--color__shadow__light);
    --shadow__outset__hover: 
        6px 6px 12px var(--color__shadow__dark),
        -6px -6px 12px var(--color__shadow__light);
    --shadow__inset: 
        inset 2px 2px 4px var(--color__shadow__dark),
        inset -2px -2px 4px var(--color__shadow__light);
    
    /* Spacing System */
    --space__xxs: 0.25rem;
    --space__xs: 0.5rem;
    --space__sm: 0.75rem;
    --space__md: 1rem;
    --space__lg: 1.5rem;
    --space__xl: 2rem;
    --space__xxl: 3rem;
    
    /* Typography */
    --font__family__primary: 'Inter', -apple-system, sans-serif;
    --font__family__mono: 'JetBrains Mono', monospace;
    --font__size__xs: 0.75rem;
    --font__size__sm: 0.875rem;
    --font__size__base: 0.9rem;
    --font__size__lg: 1rem;
    --font__size__xl: 1.125rem;
    --font__size__2xl: 1.25rem;
    --font__size__3xl: 1.5rem;
    --font__size__4xl: 1.875rem;
    --font__size__5xl: 2.25rem;
    
    /* Font Weights */
    --font__weight__light: 300;
    --font__weight__normal: 400;
    --font__weight__medium: 500;
    --font__weight__semibold: 600;
    --font__weight__bold: 700;
    
    /* Line Heights */
    --line__height__tight: 1.1;
    --line__height__normal: 1.5;
    --line__height__relaxed: 1.6;
    
    /* Border Radius */
    --radius__sm: 0.375rem;
    --radius__md: 0.5rem;
    --radius__lg: 0.75rem;
    --radius__xl: 1rem;
    --radius__full: 9999px;
    
    /* Transitions */
    --transition__fast: 150ms ease;
    --transition__base: 250ms ease;
    --transition__slow: 350ms ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --color__bg__primary: #0f172a;
    --color__bg__secondary: #1e293b;
    --color__text__primary: #f8fafc;
    --color__text__secondary: #cbd5e1;
    --color__text__muted: #94a3b8;
    --color__shadow__light: #1e293b;
    --color__shadow__dark: #0f172a;
}

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

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

body {
    background-color: var(--color__bg__primary);
    color: var(--color__text__primary);
    font-family: var(--font__family__primary);
    font-size: var(--font__size__base);
    line-height: var(--line__height__relaxed);
    overflow-x: hidden;
    transition: background-color var(--transition__base), color var(--transition__base);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space__lg);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.gradient__text {
    background: var(--gradient__primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ============================================
   NEUMORPHIC COMPONENTS
   ============================================ */
.neumorphic__card {
    background: var(--color__bg__primary);
    border-radius: var(--radius__lg);
    box-shadow: var(--shadow__outset);
    border: 1px solid transparent;
    background-clip: padding-box;
    transition: all var(--transition__base);
    position: relative;
    overflow: hidden;
}

.neumorphic__card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow__outset__hover);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(240, 242, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--space__sm) 0;
    transition: all var(--transition__base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navigation {
    background: rgba(15, 23, 42, 0.95);
}

.navigation.scrolled {
    padding: var(--space__xs) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navigation__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-center, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-start;
}

.nav-center {
    justify-content: center;
}

.nav-right {
    justify-content: flex-end;
}

.logo {
    font-size: var(--font__size__xl);
    font-weight: var(--font__weight__bold);
    color: var(--color__text__primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space__xs);
}

.logo__accent {
    background: var(--gradient__primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navigation__links {
    display: flex;
    gap: var(--space__lg);
    align-items: center;
}

.navigation__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color__text__secondary);
    text-decoration: none;
    font-weight: var(--font__weight__medium);
    transition: all var(--transition__base);
    position: relative;
    padding: var(--space__xs);
}

.navigation__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient__primary);
    transition: width var(--transition__base);
}

.navigation__link:hover {
    color: var(--color__accent__primary);
}

.navigation__link:hover::after,
.navigation__link.active::after {
    width: 80%;
}

.nav-icon {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.nav-text {
    font-size: var(--font__size__xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme__toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius__full);
    background: var(--color__bg__primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color__text__primary);
    box-shadow: var(--shadow__outset);
    transition: all var(--transition__base);
}

.theme__toggle:hover {
    transform: rotate(30deg);
    box-shadow: var(--shadow__outset__hover);
}

.mobile__menu__toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius__full);
    background: var(--color__bg__primary);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--color__text__primary);
    box-shadow: var(--shadow__outset);
    transition: all var(--transition__base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero__section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero__section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 140%;
    background: var(--gradient__subtle);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 20s infinite linear;
    z-index: 0;
}

@keyframes morphing {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space__xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space__xs);
    background: var(--gradient__primary);
    color: white;
    padding: var(--space__xs) var(--space__lg);
    border-radius: var(--radius__full);
    font-size: var(--font__size__sm);
    font-weight: var(--font__weight__semibold);
    margin-bottom: var(--space__lg);
}

.hero__title {
    font-size: var(--font__size__5xl);
    font-weight: var(--font__weight__bold);
    line-height: var(--line__height__tight);
    margin-bottom: var(--space__md);
}

.hero__subtitle {
    font-size: var(--font__size__lg);
    color: var(--color__text__secondary);
    margin-bottom: var(--space__lg);
    font-weight: var(--font__weight__medium);
}

.hero__description {
    font-size: var(--font__size__base);
    color: var(--color__text__muted);
    margin-bottom: var(--space__xl);
    line-height: var(--line__height__relaxed);
    max-width: 90%;
}

.hero__actions {
    display: flex;
    gap: var(--space__md);
    margin-bottom: var(--space__xl);
}

.button {
    display: inline-flex;
    align-items: center;
    gap: var(--space__sm);
    padding: var(--space__sm) var(--space__lg);
    border-radius: var(--radius__full);
    text-decoration: none;
    font-weight: var(--font__weight__medium);
    transition: all var(--transition__base);
    border: none;
    cursor: pointer;
    font-size: var(--font__size__base);
    font-family: var(--font__family__primary);
}

.button__primary {
    background: var(--gradient__primary);
    color: white;
}

.button__primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.button__secondary {
    background: var(--color__bg__primary);
    color: var(--color__text__primary);
    box-shadow: var(--shadow__outset);
}

.button__secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow__outset__hover);
}

.button__icon {
    transition: transform var(--transition__base);
}

.button:hover .button__icon {
    transform: translateX(2px);
}

.hero__stats {
    display: flex;
    gap: var(--space__xl);
}

.stat__mini {
    text-align: center;
}

.stat__mini__value {
    display: block;
    font-size: var(--font__size__xl);
    font-weight: var(--font__weight__bold);
    color: var(--color__accent__primary);
    line-height: 1;
}

.stat__mini__label {
    font-size: var(--font__size__xs);
    color: var(--color__text__secondary);
    margin-top: 2px;
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile__container {
    width: 300px;
    height: 300px;
    position: relative;
}

.profile__image__wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow__outset);
}

.profile__placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient__subtle);
    background-image: url(./assets/me.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--color__accent__primary);
}

.profile__glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: var(--gradient__primary);
    opacity: 0.1;
    filter: blur(20px);
}

.tech__orbits {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tech__orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(79, 70, 229, 0.2);
    animation: orbit__spin linear infinite;
}

.orbit__1 {
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    animation-duration: 40s;
}

.orbit__2 {
    top: -60px;
    left: -60px;
    right: -60px;
    bottom: -60px;
    animation-duration: 60s;
}

@keyframes orbit__spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tech__icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--color__bg__primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font__size__lg);
    color: var(--color__accent__primary);
    box-shadow: var(--shadow__outset);
    animation: icon__float 6s ease-in-out infinite;
}

.icon__1 { top: 15%; left: 15%; animation-delay: 0s; }
.icon__2 { top: 25%; right: 10%; animation-delay: 1s; }
.icon__3 { bottom: 30%; left: 10%; animation-delay: 2s; }
.icon__4 { bottom: 15%; right: 20%; animation-delay: 3s; }

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

/* ============================================
   SECTIONS COMMON STYLES
   ============================================ */
.section {
    padding: var(--space__xxl) 0;
    position: relative;
}

.section__dark {
    background: var(--gradient__subtle);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space__xl);
}

.section__title {
    font-size: var(--font__size__3xl);
    font-weight: var(--font__weight__bold);
    margin-bottom: var(--space__sm);
    background: var(--gradient__primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__subtitle {
    font-size: var(--font__size__sm);
    color: var(--color__accent__primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font__weight__semibold);
    margin-bottom: var(--space__xs);
}

.section__cta {
    text-align: center;
    margin-top: var(--space__xl);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects__filter {
    display: flex;
    justify-content: center;
    gap: var(--space__sm);
    margin-bottom: var(--space__xl);
    flex-wrap: wrap;
}

.filter__button {
    padding: var(--space__xs) var(--space__lg);
    background: var(--color__bg__primary);
    border: none;
    border-radius: var(--radius__full);
    color: var(--color__text__secondary);
    font-family: var(--font__family__primary);
    font-size: var(--font__size__sm);
    font-weight: var(--font__weight__medium);
    cursor: pointer;
    transition: all var(--transition__base);
    box-shadow: var(--shadow__outset);
}

.filter__button:hover,
.filter__button.active {
    background: var(--gradient__primary);
    color: white;
    transform: translateY(-1px);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space__lg);
}

.project__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project__image__container {
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius__lg) var(--radius__lg) 0 0;
    background: var(--gradient__subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project__image__container img {
    height: 100%;
    width: 100%;
}

.project__content {
    padding: var(--space__lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project__badge {
    display: inline-block;
    background: var(--gradient__primary);
    color: white;
    padding: 2px var(--space__sm);
    border-radius: var(--radius__full);
    font-size: var(--font__size__xs);
    font-weight: var(--font__weight__semibold);
    text-transform: uppercase;
    margin-bottom: var(--space__sm);
    align-self: flex-start;
}

.project__title {
    font-size: var(--font__size__lg);
    font-weight: var(--font__weight__bold);
    margin-bottom: var(--space__sm);
    color: var(--color__text__primary);
}

.project__description {
    color: var(--color__text__secondary);
    margin-bottom: var(--space__lg);
    flex-grow: 1;
    line-height: var(--line__height__normal);
    font-size: var(--font__size__sm);
}

.project__technologies {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space__xs);
    margin-bottom: var(--space__lg);
}

.technology__tag {
    background: var(--gradient__subtle);
    padding: 2px var(--space__sm);
    border-radius: var(--radius__full);
    font-size: var(--font__size__xs);
    color: var(--color__accent__primary);
    font-weight: var(--font__weight__medium);
}

.project__actions {
    display: flex;
    gap: var(--space__sm);
    margin-top: auto;
}

.project__action {
    flex: 1;
    justify-content: center;
    padding: var(--space__xs) var(--space__sm);
    font-size: var(--font__size__sm);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space__lg);
}

.skill__category {
    padding: var(--space__lg);
}

.category__title {
    font-size: var(--font__size__lg);
    color: var(--color__accent__primary);
    margin-bottom: var(--space__lg);
    display: flex;
    align-items: center;
    gap: var(--space__sm);
}

.category__icon {
    font-size: 1em;
}

.skill__item {
    margin-bottom: var(--space__lg);
}

.skill__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space__xs);
    font-size: var(--font__size__sm);
}

.skill__name {
    font-weight: var(--font__weight__medium);
    color: var(--color__text__primary);
}

.skill__level {
    color: var(--color__accent__primary);
    font-weight: var(--font__weight__bold);
}

.skill__bar__container {
    height: 6px;
    background: var(--color__bg__primary);
    border-radius: var(--radius__full);
    overflow: hidden;
    box-shadow: var(--shadow__inset);
}

.skill__bar {
    height: 100%;
    background: var(--gradient__primary);
    border-radius: var(--radius__full);
    width: 0;
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space__lg);
    margin-bottom: var(--space__xl);
}

.blog__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition__base);
}

.blog__card:hover {
    transform: translateY(-4px);
}

.blog__card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space__lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog__category__badge {
    background: var(--gradient__subtle);
    padding: 2px var(--space__sm);
    border-radius: var(--radius__full);
    font-size: var(--font__size__xs);
    color: var(--color__accent__primary);
    font-weight: var(--font__weight__semibold);
    text-transform: uppercase;
}

.blog__read__time {
    font-size: var(--font__size__xs);
    color: var(--color__text__muted);
}

.blog__card__content {
    padding: var(--space__lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog__title {
    margin-bottom: var(--space__sm);
    color: var(--color__text__primary);
    font-size: var(--font__size__lg);
    font-weight: var(--font__weight__bold);
    line-height: var(--line__height__tight);
}

.blog__excerpt {
    color: var(--color__text__secondary);
    line-height: var(--line__height__normal);
    margin-bottom: var(--space__lg);
    font-size: var(--font__size__sm);
    flex-grow: 1;
}

.blog__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    font-size: var(--font__size__xs);
    color: var(--color__text__muted);
}

.blog__card__footer {
    padding: var(--space__lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog__read__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space__xs);
    color: var(--color__accent__primary);
    text-decoration: none;
    font-weight: var(--font__weight__semibold);
    font-size: var(--font__size__sm);
    transition: gap var(--transition__base);
}

.blog__read__link:hover {
    gap: var(--space__sm);
}

.blog__note {
    text-align: center;
    color: var(--color__text__muted);
    font-size: var(--font__size__sm);
    margin-top: var(--space__lg);
}

.blog__note a {
    color: var(--color__accent__primary);
    text-decoration: none;
}

.blog__note a:hover {
    text-decoration: underline;
}

/* ============================================
   RESUME SECTION
   ============================================ */
.resume__container {
    max-width: 600px;
    margin: 0 auto;
}

.resume__card {
    overflow: hidden;
}

.resume__preview {
    padding: var(--space__xl);
}

.resume__header {
    margin-bottom: var(--space__lg);
}

.resume__profile {
    display: flex;
    align-items: center;
    gap: var(--space__lg);
}

.resume__profile__placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient__subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color__accent__primary);
}

.resume__profile__info {
    flex-grow: 1;
}

.resume__name {
    font-size: var(--font__size__xl);
    margin-bottom: 2px;
    color: var(--color__text__primary);
}

.resume__title {
    color: var(--color__text__secondary);
    font-size: var(--font__size__sm);
}

.resume__content__preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space__lg);
}

.preview__section__title {
    display: flex;
    align-items: center;
    gap: var(--space__sm);
    font-size: var(--font__size__lg);
    margin-bottom: var(--space__lg);
    color: var(--color__text__primary);
}

.preview__list {
    list-style: none;
    padding-left: var(--space__lg);
}

.preview__list li {
    position: relative;
    padding-left: var(--space__sm);
    margin-bottom: var(--space__sm);
    color: var(--color__text__secondary);
    line-height: var(--line__height__normal);
    font-size: var(--font__size__sm);
}

.preview__list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color__accent__primary);
}

.resume__download {
    padding: var(--space__xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space__lg);
    margin-bottom: var(--space__xl);
}

.contact__method {
    padding: var(--space__lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__icon__wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient__primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space__lg);
    font-size: var(--font__size__xl);
    color: white;
    transition: all var(--transition__base);
}

.contact__method:hover .contact__icon__wrapper {
    transform: scale(1.1);
}

.contact__label {
    font-size: var(--font__size__lg);
    font-weight: var(--font__weight__bold);
    margin-bottom: var(--space__sm);
    color: var(--color__text__primary);
}

.contact__value {
    color: var(--color__text__secondary);
    font-size: var(--font__size__base);
    text-decoration: none;
    transition: color var(--transition__base);
}

.contact__value:hover {
    color: var(--color__accent__primary);
}

.contact__form__container {
    max-width: 500px;
    margin: 0 auto;
}

.contact__form__card {
    padding: var(--space__xl);
}

.contact__form__title {
    font-size: var(--font__size__lg);
    margin-bottom: var(--space__lg);
    color: var(--color__text__primary);
    text-align: center;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: var(--space__lg);
}

.form__group {
    display: flex;
    flex-direction: column;
}

.form__input,
.form__textarea {
    padding: var(--space__md);
    background: var(--color__bg__primary);
    border: none;
    border-radius: var(--radius__md);
    color: var(--color__text__primary);
    font-family: var(--font__family__primary);
    font-size: var(--font__size__base);
    box-shadow: var(--shadow__inset);
    transition: all var(--transition__base);
    resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    box-shadow: var(--shadow__outset);
}

.form__textarea {
    min-height: 120px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.site__footer {
    background: var(--color__bg__primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space__xl) 0 var(--space__lg);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space__lg);
    flex-wrap: wrap;
    gap: var(--space__lg);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space__xs);
}

.footer__tagline {
    color: var(--color__text__secondary);
    font-size: var(--font__size__sm);
    max-width: 300px;
}

.social__links {
    display: flex;
    gap: var(--space__md);
}

.social__link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color__text__primary);
    text-decoration: none;
    transition: all var(--transition__base);
    box-shadow: var(--shadow__outset);
}

.social__link:hover {
    transform: translateY(-2px);
    background: var(--gradient__primary);
    color: white;
    box-shadow: var(--shadow__outset__hover);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space__lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color__text__muted);
    font-size: var(--font__size__sm);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back__to__top {
    position: fixed;
    bottom: var(--space__lg);
    right: var(--space__lg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color__bg__primary);
    border: none;
    color: var(--color__text__primary);
    font-size: var(--font__size__lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow__outset);
    transition: all var(--transition__base);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back__to__top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back__to__top:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow__outset__hover);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: var(--space__xl);
        text-align: center;
    }
    
    .hero__description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .profile__container {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .navigation__links {
        gap: var(--space__md);
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    
    .navigation__links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: var(--space__lg);
        right: var(--space__lg);
        background: var(--color__bg__primary);
        padding: var(--space__lg);
        border-radius: var(--radius__lg);
        box-shadow: var(--shadow__outset__hover);
        z-index: 100;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile__menu__toggle {
        display: flex;
    }
    
    .hero__title {
        font-size: var(--font__size__4xl);
    }
    
    .hero__subtitle {
        font-size: var(--font__size__base);
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__actions .button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section__title {
        font-size: var(--font__size__2xl);
    }
    
    .skills__container {
        grid-template-columns: 1fr;
    }
    
    .projects__grid {
        grid-template-columns: 1fr;
    }
    
    .blog__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        flex-direction: column;
        text-align: center;
    }
    
    .back__to__top {
        bottom: var(--space__md);
        right: var(--space__md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space__md);
    }
    
    .hero__title {
        font-size: var(--font__size__3xl);
    }
    
    .hero__stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space__lg);
    }
    
    .projects__filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter__button {
        width: 100%;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color__bg__primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient__primary);
    border-radius: var(--radius__full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color__accent__secondary);
}



@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/** Variables **/

:root {
  --color-background: #e7e7e7;
  --color-background-alt: #888888;
  --color-border-active: #da7105;
  --color-border-default: #d1d1d1;
  --color-highlight: #fdcf4c;
  --color-primary: #b64e08;
  --color-primary-active: #79320e;
  --color-text-default: #262626;
  --color-text-muted: #4f4f4f;

  --font-family-body: "Figtree", system-ui, sans-serif;
  --font-family-display: "Poppins", system-ui, sans-serif;
}

/** Base **/

*,
::before,
::after {
  box-sizing: border-box;
}

* {
  border: 0;
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-family-body);
  font-optical-sizing: auto;
  font-style: normal;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

[type="checkbox"],
[type="radio"],
[type="range"] {
  appearance: none;
  flex-shrink: 0;
  padding: 0;
  user-select: none;
}

[type="checkbox"]:focus,
[type="radio"]:focus,
[type="range"]:focus {
  outline: none;
}

/** Components **/

.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

fieldset {
  display: grid;
  margin: 1.5rem 0;
  row-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) fieldset {
  column-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}

.fs-fieldset-title {
  color: var(--color-text-default);
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
  grid-column: 1 / -1;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.fs-label {
  color: var(--color-text-default);
  display: block;
  font-family: var(--font-family-display);
  font-size: 1rem;
  line-height: 1.25rem;
}

.fs-description {
  color: var(--color-text-muted);
  display: block;
  font-size: 1rem;
  line-height: 1.25rem;
}

.fs-button-group {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) .fs-button-group {
  grid-column: 1 / -1;
}

.fs-button {
  background-color: var(--color-primary);
  border-radius: 9999px;
  color: white;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5rem;
  padding: 0.75rem 2rem;
  transition-duration: 200ms;
  transition-property: background-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fs-button:hover {
  background-color: var(--color-primary-active);
}

.fs-button:focus-visible {
  background-color: var(--color-primary-active);
  outline: 4px solid var(--color-highlight);
}

.fs-input,
.fs-select {
  appearance: none;
  border-radius: 9999px;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  height: 3rem;
  line-height: 1.5rem;
  outline: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

.fs-input:focus-visible,
.fs-select:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1px inset;
}

.fs-input::placeholder {
  color: var(--color-text-muted);
}

.fs-checkbox-group,
.fs-radio-group {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.fs-checkbox-field,
.fs-radio-field {
  column-gap: 0.5rem;
  display: flex;
}

:is(.fs-checkbox-field, .fs-radio-field) .fs-label + .fs-description {
  margin-top: 0.25rem;
}

.fs-checkbox-wrapper,
.fs-radio-wrapper {
  align-items: center;
  display: flex;
  height: 1.25rem;
}

.fs-checkbox,
.fs-radio {
  background-color: #fff;
  border: 1px solid var(--color-border-default);
  height: 1.25rem;
  width: 1.25rem;
}

.fs-checkbox {
  border-radius: 0.25rem;
}

.fs-radio {
  border-radius: 100%;
}

.fs-checkbox:checked,
.fs-radio:checked {
  background-color: var(--color-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-color: transparent;
}

.fs-checkbox:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

.fs-radio:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

.fs-checkbox:focus-visible,
.fs-radio:focus-visible {
  border-color: var(--color-border-active);
  outline: 4px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-checkbox:checked:focus-visible,
.fs-radio:checked:focus-visible {
  border-color: transparent;
}

.fs-select {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.625em 1.625em;
  padding-right: 2.875rem;
}

.fs-slider {
  background: transparent;
  cursor: pointer;
  height: 1.25rem;
  width: 100%;
}

.fs-slider::-moz-range-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-webkit-slider-runnable-track {
  background-color: var(--color-background);
  border-radius: 0.5rem;
  height: 0.5rem;
}

.fs-slider::-moz-range-thumb {
  background-color: var(--color-primary);
  border: none; /* Removes extra border that FF applies */
  border-radius: 50%;
  height: 1.25rem;
  width: 1.25rem;
}

.fs-slider::-webkit-slider-thumb {
  appearance: none;
  background-color: var(--color-primary);
  border-radius: 50%;
  height: 1.25rem;
  margin-top: -0.375rem; /* Centers thumb on the track */
  width: 1.25rem;
}

.fs-slider:focus-visible::-moz-range-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-slider:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.fs-switch {
  background-color: var(--color-background-alt);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.75' fill='white'/%3e%3c/svg%3e");
  background-position: left center;
  background-repeat: no-repeat;
  border-radius: 1.25rem;
  cursor: pointer;
  height: 1.25rem;
  transition-duration: 200ms;
  transition-property: background-color, background-position;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 2.5rem;
}

.fs-switch:checked {
  background-color: var(--color-primary);
  background-position: right center;
}

.fs-switch:focus-visible {
  outline: 4px solid var(--color-highlight);
  outline-offset: 0;
}

.fs-textarea {
  appearance: none;
  border-radius: 0.75rem;
  border-width: 0;
  box-shadow: var(--color-border-default) 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  line-height: 1.5rem;
  outline: none;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

.fs-textarea:focus-visible {
  box-shadow: var(--color-border-active) 0 0 0 1px inset;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

/** Utilities **/

.col-span-full {
  grid-column: 1 / -1;
}

.fs-textarea::placeholder {
  color: var(--color-text-muted);
}

.slider-label-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.25rem;
}

.slider-label-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}