@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --dark-navy: #0a192f;
    --navy: #112240;
    --light-navy: #233554;
    --lightest-navy: #303C55;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #ffffff;
    --green: #64ffda;
    --green-tint: rgba(100, 255, 218, 0.1);
    --green-shadow: rgba(100, 255, 218, 0.3);
    --blue-tint: rgba(100, 200, 255, 0.1);
    --purple-tint: rgba(139, 92, 246, 0.1);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --font-mono: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
    
    --fz-xs: 12px;
    --fz-sm: 14px;
    --fz-md: 16px;
    --fz-lg: 18px;
    --fz-xl: 20px;
    --fz-xxl: 22px;
    --fz-heading: 32px;
    
    --border-radius: 8px;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    --shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    --shadow-hover: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
    
    --contact-bg-gradient: radial-gradient(circle at center, var(--green-tint) 0%, transparent 70%);
    --card-hover-transform: translateY(-5px);
    --button-hover-transform: translateY(-3px) scale(1.02);
    --social-hover-transform: translateY(-3px) scale(1.1);
    --fast-transition: 0.2s ease;
    --medium-transition: 0.3s ease;
    --slow-transition: 0.6s ease;
}

[data-theme="light"] {
    --dark-navy: #f8fafc;
    --navy: #ffffff;
    --light-navy: #f1f5f9;
    --lightest-navy: #e2e8f0;
    --slate: #475569;
    --light-slate: #334155;
    --lightest-slate: #1e293b;
    --white: #0f172a;
    --green: #059669;
    --green-tint: rgba(5, 150, 105, 0.1);
    --green-shadow: rgba(5, 150, 105, 0.3);
    --shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 30px -15px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color var(--medium-transition), 
                color var(--medium-transition), 
                border-color var(--medium-transition);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--dark-navy);
    color: var(--slate);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

.main-content {
    padding-left: 100px;
    width: 100%;
}

section {
    margin: 0 auto;
    padding: 100px 0;
    max-width: 1200px;
    width: 90%;
}

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

a:hover, a:focus {
    color: var(--green);
}

ul {
    list-style: none;
}

.highlight {
    color: var(--green);
    font-weight: 600;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 50px;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: var(--transition);
}

.logo {
    z-index: 101;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    border: 2px solid var(--green);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.logo-text:hover {
    background-color: var(--green-tint);
    transform: translateY(-2px);
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--lightest-slate);
    font-size: var(--fz-sm);
    font-weight: 500;
    position: relative;
}

nav a span {
    color: var(--green);
    margin-right: 5px;
    font-size: var(--fz-xs);
    font-weight: 400;
    font-family: var(--font-mono);
}

nav a:hover {
    color: var(--green);
}

nav a:hover::after {
    width: 100%;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green);
    transition: var(--transition);
}

.resume-btn {
    border: 1px solid var(--green);
    padding: 10px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.resume-btn:hover {
    background-color: var(--green-tint);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--green);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-left: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(100, 255, 218, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--green), transparent);
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #64b5f6, transparent);
    bottom: 30%;
    left: 10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #8b5cf6, transparent);
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.intro-text {
    color: var(--green);
    font-size: var(--fz-lg);
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-weight: 400;
}

.name {
    font-size: clamp(40px, 8vw, 80px);
    color: var(--white);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: clamp(30px, 6vw, 60px);
    color: var(--lightest-slate);
    font-weight: 600;
    margin: 10px 0 20px;
    line-height: 1.1;
}

.role-text {
    color: var(--green);
    font-weight: 700;
}

.laptop-emoji {
    display: inline-block;
    margin-left: 10px;
    animation: bounce 2s infinite;
}

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

.description {
    font-size: var(--fz-lg);
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--light-slate);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: var(--fz-md);
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
}

.cta-button.primary {
    background-color: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.cta-button.primary:hover {
    background-color: var(--green-tint);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--green-shadow);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--lightest-slate);
    border: 2px solid var(--lightest-slate);
}

.cta-button.secondary:hover {
    background-color: var(--blue-tint);
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-3px);
}

.social-sidebar {
    position: fixed;
    left: 40px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.social-sidebar::after {
    content: '';
    display: block;
    width: 1px;
    height: 90px;
    margin: 0 auto;
    background-color: var(--light-slate);
}

.social-sidebar a {
    color: var(--light-slate);
    font-size: 20px;
    transition: var(--transition);
}

.social-sidebar a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.tech-icons div {
    position: absolute;
    opacity: 0.1;
    font-size: 60px;
    color: var(--green);
}

.react-icon {
    top: 15%;
    left: 8%;
}

.js-icon {
    top: 25%;
    right: 12%;
}

.python-icon {
    bottom: 25%;
    right: 20%;
}

.java-icon {
    bottom: 35%;
    left: 15%;
}

.node-icon {
    top: 50%;
    left: 5%;
}

.code-icon {
    top: 70%;
    right: 8%;
}

.floating {
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: var(--fz-heading);
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}

.section-number {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-lg);
    font-weight: 400;
}

.section-line {
    height: 1px;
    background-color: var(--lightest-navy);
    flex-grow: 1;
    max-width: 300px;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--light-slate);
}

.about-image {
    position: relative;
    max-width: 300px;
    justify-self: center;
}

.image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.image-container::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--green);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: var(--transition);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    filter: none;
    transition: var(--transition);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--green);
    opacity: 0;
    transition: var(--transition);
}

.tech-proficiency {
    margin-top: 30px;
}

.tech-proficiency h3 {
    font-size: var(--fz-xl);
    color: var(--white);
    margin-bottom: 20px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.tech-column {
    min-width: 200px;
}

.tech-item {
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: var(--fz-sm);
    color: var(--light-slate);
    position: relative;
    padding-left: 20px;
}

.tech-arrow {
    position: absolute;
    left: 0;
    color: var(--green);
}

.tech-emoji {
    margin-left: 5px;
}

.experience-content {
    display: flex;
    flex-direction: row;
    min-height: 340px;
}

.companies {
    display: flex;
    flex-direction: column;
    width: 200px;
    min-width: 200px;
    border-left: 2px solid var(--lightest-navy);
}

.companies ul {
    width: 100%;
}

.companies li {
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 2px solid transparent;
    margin-left: -2px;
    color: var(--light-slate);
    font-size: var(--fz-sm);
}

.companies li.active {
    color: var(--green);
    border-left-color: var(--green);
    background-color: var(--green-tint);
}

.companies li:hover {
    color: var(--green);
    background-color: var(--light-navy);
}

.experience-details {
    padding-left: 30px;
    flex: 1;
}

.experience-item {
    display: none;
}

.experience-item.active {
    display: block;
}

.experience-item h3 {
    color: var(--white);
    font-size: var(--fz-xl);
    margin-bottom: 5px;
}

.company {
    color: var(--green);
}

.date {
    font-size: var(--fz-sm);
    color: var(--light-slate);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.responsibilities {
    margin: 20px 0;
    padding-left: 20px;
}

.responsibilities li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--light-slate);
}

.responsibilities li::before {
    content: '▹';
    color: var(--green);
    position: absolute;
    left: 0;
    top: 0;
}

.tech-stack {
    font-size: var(--fz-sm);
    color: var(--light-slate);
}

.projects {
    margin-bottom: 100px;
}

.featured-projects h3, 
.other-projects h3 {
    color: var(--white);
    font-size: var(--fz-xxl);
    margin-bottom: 40px;
    text-align: center;
}

.project-card {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 100px;
    position: relative;
}

.project-content {
    grid-area: 1 / 1 / -1 / 8;
    z-index: 2;
}

.project-image {
    grid-area: 1 / 6 / -1 / -1;
    overflow: hidden;
    border-radius: var(--border-radius);
    position: relative;
}

.project-card.reverse .project-content {
    grid-area: 1 / 6 / -1 / -1;
    text-align: right;
}

.project-card.reverse .project-image {
    grid-area: 1 / 1 / -1 / 8;
}

.project-overline {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    font-weight: 400;
    margin-bottom: 10px;
}

.project-content h4 {
    color: var(--white);
    font-size: var(--fz-xxl);
    margin-bottom: 20px;
    font-weight: 600;
}

.project-description {
    padding: 25px;
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--lightest-navy);
}

.project-description p {
    color: var(--light-slate);
    margin: 0;
}

.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: var(--transition);
}

.project-image:hover img {
    filter: none;
}

.project-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--green);
    opacity: 0.3;
    transition: var(--transition);
    z-index: 1;
}

.project-image:hover::before {
    opacity: 0;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-card.reverse .tech-tags {
    justify-content: flex-end;
}

.tech-tags span {
    font-size: var(--fz-xs);
    font-family: var(--font-mono);
    color: var(--green);
    background-color: var(--green-tint);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    border: 1px solid var(--green);
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-card.reverse .project-links {
    justify-content: flex-end;
}

.project-links a {
    font-size: var(--fz-xl);
    color: var(--light-slate);
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.other-project-card {
    background-color: var(--light-navy);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lightest-navy);
}

.other-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.folder-icon {
    font-size: 40px;
    color: var(--green);
}

.other-project-card h4 {
    color: var(--white);
    font-size: var(--fz-xl);
    margin-bottom: 15px;
    font-weight: 600;
}

.other-project-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--light-slate);
}

.other-project-card .tech-tags {
    margin-top: auto;
}

.skills-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.skills-category {
    background-color: var(--light-navy);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
    transition: var(--transition);
}

.skills-category:hover {
    border-color: var(--green);
    box-shadow: var(--shadow);
}

.skills-category-title {
    color: var(--white);
    font-size: var(--fz-xl);
    margin-bottom: 25px;
    font-weight: 600;
}

.skills-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.skill-card {
    background-color: var(--navy);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--lightest-navy);
    cursor: default;
}

.skill-card:hover {
    background-color: var(--lightest-navy);
    transform: translateY(-3px);
    border-color: var(--green);
    box-shadow: var(--shadow);
}

.skill-card i {
    font-size: 24px;
    color: var(--green);
    margin-bottom: 10px;
    display: block;
}

.skill-card span {
    color: var(--light-slate);
    font-size: var(--fz-sm);
    font-weight: 500;
}

.education-timeline {
    position: relative;
    padding-left: 30px;
}

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

.education-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 40px;
}

.education-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 10px;
    width: 14px;
    height: 14px;
    background-color: var(--green);
    border-radius: 50%;
    border: 3px solid var(--dark-navy);
}

.education-date {
    position: absolute;
    left: -200px;
    top: 10px;
    width: 150px;
    text-align: right;
}

.education-date span {
    color: var(--green);
    font-size: var(--fz-sm);
    font-family: var(--font-mono);
}

.education-content h3 {
    color: var(--white);
    font-size: var(--fz-xl);
    margin-bottom: 5px;
    font-weight: 600;
}

.education-content h4 {
    color: var(--light-slate);
    font-size: var(--fz-lg);
    margin-bottom: 10px;
}

.education-gpa {
    color: var(--green);
    font-weight: 600;
}

.education-content p {
    color: var(--slate);
    font-size: var(--fz-md);
}

.contact {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: var(--contact-bg-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.contact .section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
    position: relative;
}

.contact h3 {
    font-size: clamp(40px, 5vw, 60px);
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--white), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text {
    font-size: var(--fz-lg);
    margin-bottom: 40px;
    color: var(--light-slate);
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background-color: var(--light-navy);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
    transition: all var(--medium-transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--green), transparent);
    opacity: 0;
    transition: opacity var(--medium-transition);
}

.contact-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--shadow-hover);
    border-color: var(--green);
}

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

.contact-icon {
    font-size: 24px;
    color: var(--green);
    margin-bottom: 15px;
    display: block;
    transition: transform var(--fast-transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-label {
    font-size: var(--fz-sm);
    color: var(--slate);
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: var(--fz-md);
    color: var(--white);
    font-weight: 600;
}

.contact-value a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--medium-transition);
}

.contact-value a:hover {
    color: var(--green);
}

.contact .cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: var(--fz-md);
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    transition: all var(--medium-transition);
    text-decoration: none;
    background: linear-gradient(135deg, transparent, var(--green-tint));
    color: var(--green);
    border: 2px solid var(--green);
    position: relative;
    overflow: hidden;
}

.contact .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact .cta-button:hover::before {
    left: 100%;
}

.contact .cta-button:hover {
    background: var(--green);
    color: var(--dark-navy);
    transform: var(--button-hover-transform);
    box-shadow: 0 15px 25px var(--green-shadow);
}

footer {
    background-color: var(--navy);
    border-top: 1px solid var(--lightest-navy);
    padding: 60px 0 40px;
    margin-top: 100px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: var(--fz-xl);
    color: var(--light-slate);
    background-color: var(--light-navy);
    border-radius: 50%;
    border: 1px solid var(--lightest-navy);
    transition: all var(--medium-transition);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--green);
    background-color: var(--green-tint);
    border-color: var(--green);
    transform: var(--social-hover-transform);
}

.footer-text {
    font-size: var(--fz-sm);
    color: var(--light-slate);
    margin-bottom: 10px;
}

.built-with {
    font-size: var(--fz-xs);
    color: var(--slate);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--green);
    background-color: var(--navy);
    color: var(--green);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--medium-transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.theme-toggle:hover {
    background-color: var(--green);
    color: var(--navy);
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-hover);
}

.theme-toggle i {
    transition: transform var(--fast-transition);
}

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 40px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: var(--light-navy);
    color: var(--green);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 50;
    box-shadow: var(--shadow);
    border: 1px solid var(--lightest-navy);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--green);
    color: var(--dark-navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease-in-out;
}

.loader {
    display: flex;
    gap: 10px;
}

.letter {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    animation: bounce 0.6s infinite alternate;
}

.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }

.contact-card:focus-visible,
.theme-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

@media (max-width: 1200px) {
    section {
        width: 95%;
    }
    
    .hero {
        padding-left: 50px;
    }
    
    .main-content {
        padding-left: 50px;
    }
}

@media (max-width: 1080px) {
    section {
        padding: 80px 0;
    }
    
    .skills-grid-container {
        gap: 40px;
    }
    
    .skills-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .project-card {
        gap: 20px;
        margin-bottom: 80px;
    }
    
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .project-content,
    .project-image,
    .project-card.reverse .project-content,
    .project-card.reverse .project-image {
        grid-column: 1 / -1;
    }
    
    .project-content {
        grid-row: 1;
        padding: 20px 0;
        text-align: left;
    }
    
    .project-image {
        grid-row: 2;
    }
    
    .project-card.reverse .project-content {
        text-align: left;
    }
    
    .project-card.reverse .tech-tags,
    .project-card.reverse .project-links {
        justify-content: flex-start;
    }
    
    .project-description {
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
        width: 90%;
    }
    
    header {
        padding: 0 25px;
    }
    
    .main-content {
        padding-left: 0;
    }
    
    .social-sidebar {
        display: none;
    }
    
    .hero {
        padding-left: 0;
        height: auto;
        min-height: 100vh;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: var(--light-navy);
        transition: right 0.3s ease-in-out;
        z-index: 100;
        border-left: 1px solid var(--lightest-navy);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
        padding-top: 100px;
        padding-left: 30px;
        height: 100%;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 15px 0;
        font-size: var(--fz-lg);
        border-bottom: 1px solid var(--lightest-navy);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin: 0 auto;
        max-width: 250px;
    }
    
    .tech-list {
        justify-content: center;
    }
    
    .skills-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 12px;
    }
    
    .skills-category {
        padding: 20px;
    }
    
    .skill-card {
        padding: 15px 10px;
    }
    
    .experience-content {
        flex-direction: column;
    }
    
    .companies {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        border-left: none;
        border-bottom: 2px solid var(--lightest-navy);
        margin-bottom: 30px;
    }
    
    .companies ul {
        display: flex;
        min-width: max-content;
    }
    
    .companies li {
        border-left: none;
        border-bottom: 2px solid transparent;
        margin-left: 0;
        margin-bottom: -2px;
        white-space: nowrap;
        padding: 15px 20px;
    }
    
    .companies li.active {
        border-left-color: transparent;
        border-bottom-color: var(--green);
    }
    
    .experience-details {
        padding-left: 0;
    }
    
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .education-date {
        position: static;
        text-align: left;
        margin-bottom: 10px;
        width: auto;
    }
    
    .education-timeline {
        padding-left: 0;
    }
    
    .education-timeline::before {
        display: none;
    }
    
    .education-item {
        padding-left: 20px;
        border-left: 3px solid var(--green);
        margin-bottom: 30px;
    }
    
    .education-item::before {
        display: none;
    }
    
    .contact {
        padding: 60px 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        padding: 20px;
    }

    .social-links {
        gap: 20px;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: var(--fz-lg);
    }

    .contact .section-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-text {
        font-size: var(--fz-md);
    }
    
    .contact-info p {
        font-size: var(--fz-sm);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 640px) {
    header {
        padding: 0 20px;
        height: 70px;
    }
    
    .logo-text {
        font-size: 1.5rem;
        padding: 6px 10px;
    }
    
    nav {
        width: 75%;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .name {
        font-size: clamp(35px, 12vw, 60px);
    }
    
    .subtitle {
        font-size: clamp(25px, 10vw, 45px);
    }
    
    .intro-text {
        font-size: var(--fz-md);
    }
    
    .description {
        font-size: var(--fz-md);
        line-height: 1.6;
    }
    
    .section-header h2 {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .about-image {
        max-width: 200px;
    }
    
    .skills-cards-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .skill-card {
        padding: 12px 8px;
    }
    
    .skill-card i {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .skill-card span {
        font-size: var(--fz-xs);
    }
    
    .companies {
        margin-bottom: 20px;
    }
    
    .companies li {
        padding: 12px 15px;
        font-size: var(--fz-xs);
    }
    
    .experience-item h3 {
        font-size: var(--fz-lg);
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .other-project-card {
        padding: 20px;
    }
    
    .card-header {
        margin-bottom: 15px;
    }
    
    .folder-icon {
        font-size: 35px;
    }
    
    .other-project-card h4 {
        font-size: var(--fz-lg);
        margin-bottom: 12px;
    }
    
    .tech-tags {
        gap: 8px;
    }
    
    .tech-tags span {
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .education-item {
        padding-left: 15px;
        margin-bottom: 25px;
    }
    
    .education-content h3 {
        font-size: var(--fz-lg);
    }
    
    .education-content h4 {
        font-size: var(--fz-md);
    }
    
    .contact h3 {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 20px;
    }

    .contact .cta-button {
        padding: 1rem 2rem;
        font-size: var(--fz-sm);
    }

    .theme-toggle {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: var(--fz-md);
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: var(--fz-sm);
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
        width: 95%;
    }
    
    header {
        padding: 0 15px;
        height: 65px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    nav {
        width: 85%;
    }
    
    nav ul {
        padding-left: 20px;
        padding-top: 80px;
    }
    
    nav a {
        font-size: var(--fz-md);
        padding: 12px 0;
    }
    
    .hero {
        min-height: 90vh;
        justify-content: flex-start;
        padding-top: 120px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .name {
        font-size: clamp(28px, 10vw, 50px);
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: clamp(20px, 8vw, 35px);
        margin-bottom: 15px;
    }
    
    .intro-text {
        font-size: var(--fz-sm);
        margin-bottom: 15px;
    }
    
    .description {
        font-size: var(--fz-sm);
        margin-bottom: 30px;
    }
    
    .tech-icons {
        display: none;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: clamp(20px, 6vw, 28px);
    }
    
    .section-number {
        font-size: var(--fz-md);
    }
    
    .about-text p {
        margin-bottom: 12px;
        font-size: var(--fz-sm);
        line-height: 1.6;
    }
    
    .about-image {
        max-width: 180px;
    }
    
    .tech-list {
        gap: 20px;
    }
    
    .tech-column {
        min-width: 150px;
    }
    
    .tech-item {
        font-size: var(--fz-xs);
        margin-bottom: 8px;
    }
    
    .skills-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .skill-card {
        padding: 10px 6px;
    }
    
    .skill-card i {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .skill-card span {
        font-size: 10px;
    }
    
    .skills-category-title {
        font-size: var(--fz-lg);
        margin-bottom: 15px;
    }
    
    .companies li {
        padding: 10px 12px;
        font-size: 10px;
    }
    
    .experience-item h3 {
        font-size: var(--fz-md);
        line-height: 1.3;
    }
    
    .company {
        display: block;
        margin-top: 5px;
    }
    
    .date {
        font-size: var(--fz-xs);
        margin-bottom: 15px;
    }
    
    .responsibilities li {
        font-size: var(--fz-xs);
        line-height: 1.5;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .tech-stack {
        font-size: var(--fz-xs);
    }
    
    .project-card {
        margin-bottom: 60px;
    }
    
    .project-content h4 {
        font-size: var(--fz-lg);
        margin-bottom: 15px;
    }
    
    .project-description p {
        font-size: var(--fz-sm);
        line-height: 1.5;
    }
    
    .project-links a {
        font-size: var(--fz-lg);
    }
    
    .other-project-card {
        padding: 15px;
    }
    
    .other-project-card h4 {
        font-size: var(--fz-md);
        margin-bottom: 10px;
    }
    
    .other-project-card p {
        font-size: var(--fz-xs);
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .folder-icon {
        font-size: 30px;
    }
    
    .education-content h3 {
        font-size: var(--fz-md);
    }
    
    .education-content h4 {
        font-size: var(--fz-sm);
    }
    
    .education-content p {
        font-size: var(--fz-xs);
        line-height: 1.5;
    }
    
    .contact {
        padding: 40px 0;
    }

    .contact h3 {
        font-size: clamp(24px, 8vw, 40px);
        margin-bottom: 15px;
    }

    .contact-text {
        font-size: var(--fz-sm);
        margin-bottom: 15px;
    }

    .contact-info p {
        font-size: var(--fz-xs);
        margin-bottom: 8px;
    }

    .contact .cta-button {
        padding: 10px 20px;
        font-size: var(--fz-xs);
    }

    .social-links {
        gap: 15px;
        margin-bottom: 15px;
    }

    .social-links a {
        font-size: var(--fz-lg);
    }

    .footer-text {
        font-size: var(--fz-xs);
        margin-bottom: 5px;
    }

    .built-with {
        font-size: 10px;
    }

    .theme-toggle {
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .back-to-top {
        right: 15px;
        width: 40px;
        height: 40px;
        bottom: 35px;
    }
}

@media (max-width: 374px) {
    .hero-content {
        padding: 0 5px;
    }
    
    .name {
        font-size: clamp(24px, 8vw, 40px);
    }
    
    .subtitle {
        font-size: clamp(18px, 6vw, 28px);
    }
    
    .skills-cards-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .skill-card {
        padding: 8px 4px;
    }
    
    .skill-card span {
        font-size: 9px;
    }
    
    .companies li {
        padding: 8px 10px;
        font-size: 9px;
    }
    
    .other-project-card {
        padding: 12px;
    }
    
    .section-header h2 {
        font-size: clamp(18px, 5vw, 24px);
    }
    
    .contact h3 {
        font-size: clamp(20px, 6vw, 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating,
    .laptop-emoji,
    .grid-pattern,
    .heart {
        animation: none !important;
    }
    
    .contact-card,
    .theme-toggle,
    .cta-button {
        transition: none !important;
    }
}

@media print {
    .social-sidebar,
    .theme-toggle,
    .back-to-top,
    .mobile-menu-toggle,
    .mobile-menu-backdrop,
    .page-transition,
    .hero-background,
    .tech-icons {
        display: none !important;
    }
    
    header {
        position: static;
        box-shadow: none;
    }
    
    .main-content {
        padding-left: 0;
    }
    
    section {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .project-card {
        page-break-inside: avoid;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, 
.section-header, 
.about-content, 
.experience-content, 
.project-card, 
.other-project-card,
.contact h3, 
.contact-text, 
.cta-button, 
.skills-category {
    animation: fadeIn 0.6s ease-out forwards;
}