/* Root Variables */
:root {
    --primary-color: #d4af37;
    --primary-dark: #b8941f;
    --primary-light: #f4d03f;
    --secondary-color: #c9a82e;
    --background-dark: #0a1128;
    --background-light: #162447;
    --surface: #1f4068;
    --text-primary: #ffffff;
    --text-secondary: #e8e8e8;
    --text-muted: #b8b8b8;
    --border-color: #2d4373;
    --gradient-1: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --gradient-2: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    --gradient-3: linear-gradient(135deg, #c9a82e 0%, #b8941f 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary-color);
    border-top: 3px solid var(--primary-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(10, 17, 40, 0.98);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15), 0 0 40px rgba(212, 175, 55, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -1px;
    padding: 0.5rem 1rem;
    border-left: 4px solid var(--primary-color);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.nav-logo:hover {
    letter-spacing: 0px;
    border-left-color: var(--primary-light);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    background: linear-gradient(135deg, #0a1128 0%, #162447 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.1), transparent);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.1rem 2.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--background-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border-color: var(--primary-color);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    border-color: var(--primary-light);
}

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

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.scroll-indicator {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

/* Section Base Styles */
section {
    padding: 8rem 0;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    background-image:
        linear-gradient(45deg, var(--primary-color) 25%, transparent 25%),
        linear-gradient(-45deg, var(--primary-color) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--primary-color) 75%),
        linear-gradient(-45deg, transparent 75%, var(--primary-color) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: left;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    color: var(--text-primary);
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.section-title::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 6px;
    background: var(--gradient-1);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* About Section */
.about {
    background: var(--background-light);
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

/* Projects Section */
.projects {
    background: var(--background-dark);
    position: relative;
}

.projects::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent);
    border-radius: 50%;
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--background-light);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.project-card:hover::before {
    right: -150%;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: var(--gradient-1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transition: width 0.4s ease;
}

.project-card:hover::after {
    width: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.25), 0 0 40px rgba(212, 175, 55, 0.1);
}

.project-header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag {
    padding: 0.5rem 1.2rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-light);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.project-footer {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.project-link:hover {
    color: var(--primary-light);
    gap: 1.2rem;
}

.icon {
    transition: transform 0.3s ease;
}

.project-link:hover .icon {
    transform: translateX(5px);
}

/* Skills Section */
.skills {
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    left: 0;
    top: 30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.06), transparent);
    border-radius: 50%;
    z-index: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: linear-gradient(145deg, var(--background-dark), #0d1a2d);
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid var(--primary-color);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 50%;
}

.skill-category:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-light);
    box-shadow: -5px 10px 30px rgba(212, 175, 55, 0.2), 0 0 30px rgba(212, 175, 55, 0.1);
    border-left-width: 7px;
}

.skill-category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.6rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* Work Experience Section */
.experience {
    background: linear-gradient(135deg, var(--background-light) 0%, #1a2332 100%);
    position: relative;
}

.experience::after {
    content: '';
    position: absolute;
    left: 10%;
    bottom: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent);
    transform: rotate(45deg);
    border-radius: 20px;
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.experience-card {
    background: var(--background-dark);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.experience-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 16px 0 0 16px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.experience-card:hover::before {
    transform: scaleY(1);
}

.experience-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

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

.experience-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 1.1rem;
    color: var(--primary-light);
    font-weight: 500;
}

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

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

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

/* Education Section */
.education {
    background: var(--background-dark);
}

.education-content {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.education-card {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    max-width: 500px;
    flex: 1;
    min-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2), 0 0 30px rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.education-degree {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.education-school {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.education-year {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Writing Section */
.writing {
    background: linear-gradient(135deg, var(--background-dark) 0%, #0d1924 100%);
    position: relative;
    overflow: hidden;
}

.writing::before {
    content: '';
    position: absolute;
    right: 10%;
    top: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent);
    border-radius: 50%;
    z-index: 0;
}

.writing-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 4rem;
    line-height: 1.8;
}

.writing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.article-card {
    background: linear-gradient(145deg, var(--background-light), #1a2840);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover::before {
    opacity: 1;
}

.article-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.04), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.article-card:hover::after {
    right: -150%;
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25), 0 0 40px rgba(212, 175, 55, 0.1);
}

.article-header {
    position: relative;
    z-index: 1;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.article-date,
.article-read-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.article-date svg,
.article-read-time svg {
    opacity: 0.7;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--primary-light);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.article-tag {
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.12);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.25);
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: rgba(212, 175, 55, 0.22);
    transform: translateY(-2px);
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: 0.5rem;
}

.article-link:hover {
    color: var(--background-dark);
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.writing-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.writing-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.writing-cta .btn svg {
    transition: transform 0.3s ease;
}

.writing-cta .btn:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Contact Section */
.contact {
    background: var(--background-light);
    text-align: center;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--background-dark);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.2);
}

.contact-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

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

    .experience-header {
        flex-direction: column;
    }

    .education-content {
        flex-direction: column;
    }

    .writing-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add subtle scale animation on visibility */
.project-card.fade-in.visible,
.skill-category.fade-in.visible,
.education-card.fade-in.visible {
    animation: fadeInScale 0.6s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Section title animation */
.section-title {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}