/* ========================================
   NEOBRUTALIST MINIMALIST DESIGN SYSTEM
   Strict monochrome, zero decoration
   ======================================== */

:root {
    /* Strict Monochrome Palette */
    --black: #000000;
    --white: #FFFFFF;
    --gray: #808080;
    
    /* Semantic Variables */
    --background: #FFFFFF;
    --text: #000000;
    --border: #000000;
    --meta-text: #808080;
}

/* ========================================
   BASE RESET & TYPOGRAPHY
   ======================================== */

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

html {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--background);
    font-weight: 400;
    min-height: 100vh;
}

/* ========================================
   TYPOGRAPHY HIERARCHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
}

h1 { 
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.03em;
}

h2 { 
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}

h4 { 
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

.lead {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.6;
    font-weight: 300;
}

a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid var(--text);
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.6;
}

blockquote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    padding: 2rem;
    border-left: 4px solid var(--black);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-style: italic;
}

/* ========================================
   LAYOUT SYSTEM
   ======================================== */

section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* Narrow content for readability */
.content-narrow {
    max-width: 720px;
    margin: 0 auto;
}

/* Wider than content-narrow, but still not full width */
.content-wide {
    max-width: 980px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.about-photo-wrap {
    flex: 0 0 auto;
}

.about-photo {
    width: clamp(141px, 18vw, 218px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 3px dashed var(--gray);
    padding: 8px;
    filter: brightness(1.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    display: block;
}

.about-copy {
    flex: 1;
    min-width: 0;
    max-width: 720px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--black);
    border: none;
    text-transform: uppercase;
}

.navbar-brand img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 400;
    border: none;
    transition: opacity 0.2s ease;
}

.nav-link:hover {
    opacity: 0.5;
}

.nav-link.active {
    border-bottom: 2px solid var(--black);
    opacity: 1;
}

.navbar-toggler {
    display: none;
    background: none;
    border: 2px solid var(--black);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 1.25rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

body {
    padding-top: 80px;
}

.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90%);
    height: 1px;
    background: var(--gray);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.profile-image-hero {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px dashed var(--gray);
    padding: 8px;
    filter: brightness(1.15);
}

.tech-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.tech-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--white);
    border: 1px dashed var(--gray);
    /* padding: 1px; */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.tech-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    margin: 2rem 0;
    max-width: 600px;
}

.hero-content p {
    margin: 1.5rem 0;
    max-width: 600px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid var(--black);
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
}

.btn:hover {
    background: var(--black);
    color: var(--white);
    opacity: 1;
    border-bottom: 1px solid var(--black);
}

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

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

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ========================================
   SOCIAL LINKS
   ======================================== */

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--gray);
    border-radius: 8px;
    background: var(--white);
    color: var(--gray);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gray);
    color: var(--white);
    border-color: var(--gray);
    border-bottom: 1px solid var(--gray);
    opacity: 1;
}/* ========================================
   CONTENT SECTIONS
   ======================================== */

/* Generic section styling */
.bg-light {
    background: var(--white);
    border-top: 2px solid var(--black);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

/* ========================================
   SKILLS & CARDS
   ======================================== */

.skills-preview {
    position: relative;
}

.skills-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90%);
    height: 1px;
    background: var(--gray);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.skill-card {
    border: 1px solid var(--gray);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    background: var(--white);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 240px;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--black);
}

.skill-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--black);
}

.skill-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

.skill-card i {
    display: none; /* Remove all icons */
}

/* ========================================
   JOURNEY/TIMELINE CARDS
   ======================================== */

.timeline-section {
    position: relative;
}

.timeline-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90%);
    height: 1px;
    background: var(--gray);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.journey-card {
    border: 1px solid var(--gray);
    border-radius: 8px;
    background: var(--white);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.journey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--black);
}

.journey-card-highlight {
    background: #e0e0e0;
    color: var(--black);
    border-color: var(--gray);
}

.journey-card-highlight .journey-year {
    color: var(--gray);
}

.journey-card-future {
    border-style: dashed;
}

.journey-icon {
    display: none; /* Remove all icons */
}

.journey-year {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
}

.journey-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.journey-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

.journey-card-highlight p {
    color: var(--black);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats display */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
}

/* ========================================
   PHILOSOPHY SECTION - SIMPLIFIED
   ======================================== */

.philosophy-section {
    background: var(--white);
}

.philosophy-quote blockquote {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.5;
    margin: 3rem 0;
    border-left: 4px solid var(--black);
    padding-left: 2rem;
}

.philosophy-quote i {
    display: none; /* Remove quote icons */
}

.philosophy-cards {
    display: none; /* Remove decorative cards */
}

/* ========================================
   BLOG & PROJECTS
   ======================================== */


.project-card,
.blog-card,
.blog-card-grid {
    background: var(--white);
    padding: 0;
    transition: all 0.2s ease;
    overflow: hidden;
}

.project-card {
    border: 1px solid var(--gray);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.blog-card,
.blog-card-grid {
    border: 1px solid var(--gray);
    border-radius: 8px;
}

.project-card:hover {
    border-color: var(--gray);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.blog-card:hover {
    background: var(--white);
    color: inherit;
}

.blog-card:hover,
.blog-card-grid:hover {
    background: var(--white);
    color: inherit;
    border-color: var(--gray);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-image,
.blog-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--gray);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    border: none;
}

.card-title a:hover {
    opacity: 0.6;
}

.card-text {
    margin-bottom: 1.5rem;
}

/* Blog meta */
.blog-meta {
    font-size: 0.85rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* Tags */
.project-tech,
.blog-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    margin: 0.25rem 0.25rem 0.25rem 0;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-tag {
    border: 1px solid var(--gray);
    border-radius: 999px;
}

.project-tech:hover,
.blog-tag:hover {
    background: var(--black);
    color: var(--white);
    border-bottom: 2px solid var(--black);
    opacity: 1;
}

/* ========================================
   BLOG POST CONTENT
   ======================================== */

.blog-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 0;
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 500;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul,
.blog-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.blog-content code {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 0.2rem 0.5rem;
    font-size: 0.9em;
    font-family: 'JetBrains Mono', monospace;
}

.blog-content pre {
    background: var(--white);
    border: 2px solid var(--black);
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-content pre code {
    background: none;
    border: none;
    padding: 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--black);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--black);
    margin: 2rem 0;
}

.blog-content hr {
    border: none;
    height: 2px;
    background: var(--black);
    margin: 3rem 0;
}

.blog-content a {
    border-bottom: 2px solid var(--black);
}

/* ========================================
   TIMELINE (About Page)
   ======================================== */

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--black);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--black);
    border: 2px solid var(--white);
}

.timeline-content {
    border: 2px solid var(--black);
    padding: 2rem;
    background: var(--white);
}

.about-experience-section .timeline-content {
    border-color: var(--gray);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.about-experience-section .timeline::before {
    background: var(--gray);
}

/* Skill progress bars */
.skill-progress {
    margin-bottom: 2rem;
    border: 1px solid var(--gray);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    background: var(--white);
}

.skill-name {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress {
    height: 8px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 0;
    overflow: hidden;
}

.progress-bar {
    background: var(--black);
    height: 100%;
}

.blog-card-grid:hover {
    border-color: var(--text-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--background-alt);
    transition: transform 0.3s ease;
}

.blog-card-grid:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.blog-card-grid:hover .blog-card-title {
    color: var(--primary-color);
}

.blog-card-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-tags {
    margin-top: auto;
}

.blog-tag-small {
    display: inline-block;
    background: var(--background-alt);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Blog Banner Styles */
.blog-banner {
    margin-bottom: 2rem;
}

.blog-banner img {
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-placeholder {
    height: 300px;
    background: var(--background-alt);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.banner-placeholder:hover {
    border-color: var(--text-color);
    color: var(--text-secondary);
}

.banner-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.banner-placeholder span {
    font-weight: 500;
    text-align: center;
}

/* Blog Content (Markdown) Styles */
.blog-content {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0rem;
    line-height: 1.75;
    color: var(--text-color);
    max-width: none;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-content h1 {
    font-size: 2.25rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.blog-content h2 {
    font-size: 1.875rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.25rem;
}

.blog-content h3 {
    font-size: 1.5rem;
}

.blog-content h4 {
    font-size: 1.25rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    background: var(--background-alt);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-content blockquote p {
    margin-bottom: 0;
}

.blog-content code:not(pre code) {
    background: var(--background-alt);
    color: var(--primary-color);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.blog-content pre {
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.blog-content pre code {
    background: none !important;
    color: #24292f;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
    line-height: 1.45;
    display: block;
    white-space: pre;
    word-wrap: normal;
    border: none;
    overflow: visible;
}

/* Ensure code blocks maintain their formatting */
.blog-content pre > code {
    display: block;
    padding: 0;
    margin: 0;
    word-break: normal;
    white-space: pre;
    background: transparent;
    border: 0;
}

/* Prism.js theme customization */
.blog-content pre[class*="language-"] {
    background: #f8f8f8;
    border: 1px solid #e1e4e8;
}

.blog-content code[class*="language-"],
.blog-content pre[class*="language-"] {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content ul ul,
.blog-content ol ol,
.blog-content ul ol,
.blog-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.blog-content a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

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

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-content img[alt="Vin Diesel Meme"] {
    max-width: 50%;
    display: block;
    margin: 1.5rem auto;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--background);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.blog-content th,
.blog-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.blog-content th {
    background: var(--background-alt);
    font-weight: 600;
    color: var(--text-color);
}
/* ========================================
   FORMS
   ======================================== */

.contact-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: 12px;
    padding: 3rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    border: 1px solid var(--gray);
    border-radius: 12px;
    background: var(--white);
    color: var(--text);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--gray);
}

.form-control::placeholder {
    color: var(--gray);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    border: 2px solid var(--black);
    padding: 2rem;
    background: var(--white);
}

.contact-info h4 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

/* ========================================
   PERSONAL PHILOSOPHY
   ======================================== */

.philosophy {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.philosophy::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(600px, 90%) !important;
    height: 1px !important;
    background: #808080 !important;
}

#philosophy-quote {
    font-family: 'Caveat', cursive !important;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin: 0 auto 3rem auto !important;
    max-width: 800px !important;
    padding: 2rem !important;
    border-left: 4px solid var(--black) !important;
    border-radius: 8px !important;
    background: var(--white) !important;
    color: var(--text) !important;
    font-style: normal !important;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: var(--black);
    border: none;
    margin: 0 auto;
}

/* ========================================
   LIFE GOAL
   ======================================== */

.life-goal-section {
    background: var(--white);
}

.life-goal-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.life-goal-image {
    width: min(320px, 100%);
    border: 2px solid var(--black);
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.life-goal-quote {
    font-family: 'Caveat', cursive;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    margin: 0;
    max-width: 620px;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--black);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-style: normal;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    margin-top: 6rem;
    padding: 3rem 0;
    background: var(--black);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    margin: 0;
    width: 100%;
}

.site-footer a {
    color: var(--white);
}

.site-footer a:hover {
    color: var(--white);
    opacity: 0.75;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-muted {
    color: var(--gray) !important;
}

.text-center {
    text-align: center;
}

.text-md-end {
    text-align: right;
}

@media (max-width: 768px) {
    .text-md-end {
        text-align: left;
    }
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-4 { padding: 2rem 0; }
.py-5 { padding: 3rem 0; }

/* Grid system - simplified */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

[class*="col-"] {
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.col-12 { width: 100%; }
.col-md-6 { width: 50%; }
.col-md-4 { width: 33.333%; }
.col-md-3 { width: 25%; }
.col-lg-6 { width: 50%; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.gap-5 { gap: 3rem; }

.h-100 { height: 100%; }

.hireme-intro-short {
    display: none;
}

.service-scope-list {
    font-size: 0.88rem;
    line-height: 1.45;
}

.service-scope-heading {
    margin-bottom: 0.5rem;
}

.service-scope-detailed {
    display: block;
}

.service-scope-compact {
    display: none;
}

.collaborate-lead {
    margin-bottom: 2rem;
}

.hireme-services-section {
    padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hireme-services-section [class*="col-"] {
    margin-bottom: 1.25rem;
}

.hireme-cta-section {
    padding-top: clamp(2rem, 5vw, 3rem);
}

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

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 1rem 0;
    }

    .navbar-brand {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .navbar-brand img {
        width: 52px;
        height: 52px;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 2px solid var(--black);
        border-bottom: 2px solid var(--black);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .navbar-nav.show {
        display: flex;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--gray);
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .profile-image-hero {
        width: 200px;
        height: 200px;
    }
    
    .hero-content {
        width: 100%;
    }
    
    .hero-content .lead,
    .hero-content p {
        max-width: 100%;
    }

    .about-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-copy {
        max-width: 100%;
    }

    .about-photo {
        width: min(192px, 58vw);
    }

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

    .tech-badge {
        width: 52px;
        height: 52px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .journey-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .skill-card,
    .journey-card {
        min-height: 0;
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .stats-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        width: 100%;
    }

    .stat-item {
        min-width: 0;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 3rem;
    }
    
    [class*="col-md-"],
    [class*="col-lg-"] {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .philosophy-quote blockquote {
        font-size: 1.5rem;
        padding-left: 1.5rem;
    }

    .life-goal-content {
        flex-direction: column;
        gap: 1.25rem;
    }

    .life-goal-quote {
        text-align: center;
        max-width: 100%;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-item::before {
        left: -2.5rem;
    }

    .site-footer {
        margin-top: 3rem;
        padding: 2rem 0;
    }

    .hireme-intro-long {
        display: none;
    }

    .hireme-intro-short {
        display: block;
    }

    .hireme-lead {
        display: none;
    }

    .service-scope-detailed {
        display: none !important;
    }

    .service-scope-compact {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-wrap: wrap;
    }
    
    .social-link {
        border-right: 2px solid var(--black);
        border-bottom: none;
    }
    
    .social-link:not(:last-child) {
        border-bottom: none;
    }

    .hero-content h1 {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .stats-row {
        gap: 1rem;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .site-footer .footer-links {
        gap: 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   OVERRIDE BOOTSTRAP CONFLICTS
   ======================================== */

.card {
    border-radius: 0 !important;
}

.rounded-circle {
    border-radius: 0 !important;
}

.shadow-sm {
    box-shadow: none !important;
}

.border-0 {
    border: 2px solid var(--black) !important;
}

/* Remove FontAwesome icon colors */
.fa-2x,
.fa-3x,
i[class*="fa-"] {
    color: inherit !important;
}

.text-primary {
    color: var(--text) !important;
}

/* Clean up Bootstrap overrides */
.bg-light {
    background: var(--white) !important;
}

.display-6 {
    font-weight: 300 !important;
}

/* ========================================
   LOADING & ALERTS
   ======================================== */

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert {
    border: 2px solid var(--black);
    background: var(--white);
    padding: 1.5rem;
    margin: 1rem 0;
}

.alert-success {
    background: var(--white);
    color: var(--black);
}

.alert-info,
.alert-warning,
.alert-error {
    background: var(--black);
    color: var(--white);
}

/* ========================================
   ACCESSIBILITY & INTERACTIONS
   ======================================== */

*:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

::selection {
    background: var(--black);
    color: var(--white);
}

/* Disable all animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
