/* Neobrutalism Design System */
:root {
    /* Color Palette */
    --primary: #FFD600;
    --primary-dark: #FFAB00;
    --secondary: #FF6B9D;
    --accent: #7C4DFF;
    --teal: #00C9A7;
    --coral: #FF6B6B;

    /* Backgrounds */
    --bg-main: #FFF8E1;
    --bg-card: #FFFFFF;

    /* Text */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;

    /* Neobrutalism */
    --border: #1A1A1A;
    --shadow: 4px 4px 0px #1A1A1A;
    --shadow-hover: 6px 6px 0px #1A1A1A;
    --shadow-lg: 8px 8px 0px #1A1A1A;

    /* Spacing & Layout */
    --container-width: 1200px;
    --nav-height: 80px;
    --border-radius: 0px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

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

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

body {
    font-family: 'DM Sans', 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-main);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   TOP NAVIGATION BAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--primary);
    border-bottom: 3px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: 0 3px 0px var(--border);
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    letter-spacing: -0.5px;
}

.nav-logo a:hover {
    color: var(--accent);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: inline-block;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    background: transparent;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: var(--bg-card);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    transform: translate(-2px, -2px);
}

.nav-link.active {
    background: var(--bg-card);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    font-weight: 800;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.mobile-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

/* ==========================================
   MAIN CONTENT AREA
   ========================================== */
.main-content {
    margin-top: var(--nav-height);
    min-height: 100vh;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.hero::before {
    content: none;
}

/* Particle Animation */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(26, 26, 26, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.particle:nth-child(6) {
    width: 7px;
    height: 7px;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    width: 3px;
    height: 3px;
    left: 70%;
    animation-delay: 0.5s;
    animation-duration: 7s;
}

.particle:nth-child(8) {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.particle:nth-child(9) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-delay: 2.5s;
    animation-duration: 6s;
}

.particle:nth-child(10) {
    width: 6px;
    height: 6px;
    left: 15%;
    animation-delay: 3.5s;
    animation-duration: 8s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-10vh) rotate(180deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-title .highlight {
    font-family: inherit;
    font-weight: 800;
    background: var(--primary);
    padding: 0 8px;
    display: inline;
    color: var(--text-primary);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
}

.highlight::after {
    content: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    padding-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 200px;
    border: 3px solid var(--border);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: slideInRight 1s ease-out;
    position: relative;
    z-index: 2;
}

.profile-card {
    width: 100%;
    max-width: 300px;
    height: 300px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.profile-image {
    width: 250px;
    height: 250px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-primary);
    overflow: hidden;
    border: 4px solid var(--border);
    box-shadow: 6px 6px 0px var(--border);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-image:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 8px 8px 0px var(--border);
}

.profile-image::before {
    content: none;
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.profile-image:hover::after {
    opacity: 0;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 0;
}

.profile-image:hover .profile-photo {
    filter: brightness(1.1) contrast(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
    transform: rotate(45deg);
}

/* ==========================================
   SECTION STYLES
   ========================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--primary);
    border: 2px solid var(--border);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    background: transparent;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background: var(--primary);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-primary);
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skills-card {
    background: var(--bg-card);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.skills-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    background: var(--primary);
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--border);
}

.card-header i {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: block;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 1px;
}

.skill-categories {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.skill-category h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    box-shadow: 2px 2px 0px var(--border);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.skill-item i {
    color: var(--accent);
}

.skill-item:hover {
    background: var(--secondary);
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px var(--border);
}

.skill-item:hover i {
    color: white;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects {
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: none;
}

.project-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 220px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--border);
}

.project-card:nth-child(2) .project-image {
    background: var(--secondary);
}

.project-card:nth-child(3) .project-image {
    background: var(--teal);
}

.project-card:nth-child(4) .project-image {
    background: var(--coral);
}

.project-placeholder {
    font-size: 3rem;
    color: var(--text-primary);
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-placeholder {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--primary);
    color: var(--text-primary);
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 2px solid var(--border);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-fast);
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--border);
    background: var(--bg-card);
    box-shadow: 2px 2px 0px var(--border);
}

.project-link:hover {
    background: var(--accent);
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px var(--border);
}

/* ==========================================
   EXPERIENCE / TIMELINE SECTION
   ========================================== */
.experience {
    position: relative;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 120px;
    opacity: 0;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -68px;
    top: 5px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: var(--primary);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 2;
    transition: all var(--transition-smooth);
}

.work-marker i,
.internship-marker i,
.education-marker i {
    z-index: 2;
}

.work-marker::before,
.internship-marker::before,
.education-marker::before {
    content: none;
}

.work-marker {
    background: var(--teal);
    border-color: var(--border);
}

.internship-marker {
    background: var(--secondary);
    border-color: var(--border);
}

.education-marker {
    background: var(--coral);
    border-color: var(--border);
}

.timeline-marker:hover {
    transform: translate(-2px, -2px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.timeline-content {
    background: var(--bg-card);
    padding: 2.5rem;
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    min-width: 0;
    transition: all var(--transition-smooth);
}

.timeline-content:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.timeline-date {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--border);
    box-shadow: 2px 2px 0px var(--border);
    z-index: 3;
    max-width: calc(100% - 40px);
    white-space: normal;
    overflow-wrap: anywhere;
}

.timeline-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid var(--border);
}

.current-badge {
    background: var(--teal);
    color: var(--text-primary);
}

.education-badge {
    background: var(--coral);
    color: white;
}

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

.timeline-content h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.timeline-details {
    margin-top: 1.5rem;
}

.gpa-info {
    background: #FFF9C4;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 2px solid var(--border);
    border-left: 5px solid var(--primary);
    color: var(--text-secondary);
}

.highlight-gpa {
    color: var(--text-primary);
    font-weight: 700;
}

.coursework h5,
.tech-stack h5 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-tags,
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.course-tag {
    background: var(--bg-main);
    color: var(--text-primary);
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 2px solid var(--border);
}

.course-tag,
.tech-tag,
.timeline-content h3,
.timeline-content h4,
.achievement-text,
.gpa-info {
    overflow-wrap: anywhere;
}

.achievements {
    display: grid;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    transition: all var(--transition-fast);
}

.achievement-item:last-child {
    margin-bottom: 0;
}

.achievement-item:hover {
    background: #FFF9C4;
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow);
}

.achievement-icon {
    background: var(--primary);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.achievement-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.achievement-text strong {
    color: var(--text-primary);
}

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 56px;
    height: 56px;
    border: 3px solid var(--border);
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.96);
    transition: opacity var(--transition-smooth),
        transform var(--transition-smooth),
        visibility var(--transition-smooth),
        background var(--transition-fast);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.back-to-top i {
    font-size: 1.1rem;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.contact-methods {
    width: 100%;
    margin-bottom: 3rem;
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.contact-method:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.contact-method i {
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 1rem;
    background: var(--primary);
    border: 2px solid var(--border);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 3px solid var(--border);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    background: var(--primary);
    color: var(--text-primary);
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--text-primary);
    color: var(--bg-main);
    text-align: center;
    padding: 2rem 0;
    border-top: 3px solid var(--border);
}

/* ==========================================
   HERO ROCKETS
   ========================================== */
.hero-rockets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.rocket {
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent);
}

.rocket i {
    animation: rocketPulse 2s ease-in-out infinite;
}

.rocket-1 {
    animation: rocketFly1 15s linear infinite;
    animation-delay: 0s;
}

.rocket-2 {
    animation: rocketFly2 12s linear infinite;
    animation-delay: 3s;
}

.rocket-3 {
    animation: rocketFly3 18s linear infinite;
    animation-delay: 6s;
}

.rocket-4 {
    animation: rocketFly4 14s linear infinite;
    animation-delay: 9s;
}

.rocket-5 {
    animation: rocketFly5 11s linear infinite;
    animation-delay: 1.5s;
}

.rocket-6 {
    animation: rocketFly6 16s linear infinite;
    animation-delay: 4.5s;
}

.rocket-7 {
    animation: rocketFly7 13s linear infinite;
    animation-delay: 7.5s;
}

.rocket-8 {
    animation: rocketFly8 17s linear infinite;
    animation-delay: 2s;
}

@keyframes rocketFly1 {
    0% { left: -30px; top: 80%; transform: rotate(45deg); }
    25% { left: 25%; top: 60%; transform: rotate(30deg); }
    50% { left: 50%; top: 40%; transform: rotate(15deg); }
    75% { left: 75%; top: 20%; transform: rotate(0deg); }
    100% { left: 110%; top: 10%; transform: rotate(-15deg); }
}

@keyframes rocketFly2 {
    0% { left: -30px; top: 30%; transform: rotate(0deg); }
    25% { left: 25%; top: 25%; transform: rotate(5deg); }
    50% { left: 50%; top: 20%; transform: rotate(0deg); }
    75% { left: 75%; top: 25%; transform: rotate(-5deg); }
    100% { left: 110%; top: 30%; transform: rotate(0deg); }
}

@keyframes rocketFly3 {
    0% { left: 10%; top: 90%; transform: rotate(60deg); }
    20% { left: 30%; top: 70%; transform: rotate(30deg); }
    40% { left: 50%; top: 50%; transform: rotate(0deg); }
    60% { left: 70%; top: 30%; transform: rotate(-30deg); }
    80% { left: 90%; top: 10%; transform: rotate(-60deg); }
    100% { left: 110%; top: 5%; transform: rotate(-90deg); }
}

@keyframes rocketFly4 {
    0% { left: -30px; top: 50%; transform: rotate(30deg); }
    20% { left: 20%; top: 30%; transform: rotate(60deg); }
    40% { left: 40%; top: 50%; transform: rotate(30deg); }
    60% { left: 60%; top: 30%; transform: rotate(60deg); }
    80% { left: 80%; top: 50%; transform: rotate(30deg); }
    100% { left: 110%; top: 40%; transform: rotate(0deg); }
}

@keyframes rocketFly5 {
    0% { left: 110%; top: 70%; transform: rotate(180deg); }
    100% { left: -30px; top: 20%; transform: rotate(200deg); }
}

@keyframes rocketFly6 {
    0% { left: 5%; top: -30px; transform: rotate(120deg); }
    25% { left: 20%; top: 20%; transform: rotate(100deg); }
    50% { left: 40%; top: 45%; transform: rotate(90deg); }
    75% { left: 65%; top: 65%; transform: rotate(80deg); }
    100% { left: 90%; top: 95%; transform: rotate(60deg); }
}

@keyframes rocketFly7 {
    0% { left: 110%; top: 40%; transform: rotate(-10deg) scaleX(-1); }
    50% { left: 55%; top: 20%; transform: rotate(10deg) scaleX(-1); }
    100% { left: -30px; top: 60%; transform: rotate(-5deg) scaleX(-1); }
}

@keyframes rocketFly8 {
    0% { left: 50%; top: 95%; transform: rotate(80deg); }
    33% { left: 70%; top: 60%; transform: rotate(50deg); }
    66% { left: 90%; top: 30%; transform: rotate(20deg); }
    100% { left: 110%; top: 5%; transform: rotate(-10deg); }
}

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

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* Large Desktop */
@media (min-width: 1400px) {
    .hero-container {
        max-width: 1400px;
        gap: 6rem;
    }

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

    .hero-title .highlight {
        font-size: inherit;
    }

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

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

    .profile-card {
        max-width: 350px;
        height: 350px;
    }

    .profile-image {
        width: 300px;
        height: 300px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-container {
        gap: 3rem;
    }

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

    .hero-title .highlight {
        font-size: inherit;
    }

    .nav-menu {
        gap: 0.25rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

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

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

    .experience-item {
        padding: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .mobile-toggle {
        display: block;
    }

    .navbar {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        border-bottom: 3px solid var(--border);
        box-shadow: 0 4px 0px var(--border);
        padding: 1rem;
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        justify-content: center;
    }

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

    .hero-title .highlight {
        font-size: inherit;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

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

    .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-card {
        max-width: 250px;
        height: 250px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .skills-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-header {
        padding: 1.5rem;
    }

    .card-header i {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .card-header h3 {
        font-size: 1.2rem;
    }

    .skill-categories {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .skill-category h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .skill-items {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .skill-item {
        padding: 0.7rem 0.8rem;
    }

    .skill-item i {
        font-size: 1.1rem;
    }

    .skill-item span {
        font-size: 0.85rem;
    }

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

    .timeline-container {
        padding: 1rem 0 0.5rem;
    }

    .timeline-line {
        left: 23px;
        top: 8px;
        bottom: 8px;
        width: 2px;
    }

    .timeline-item {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 1rem;
        align-items: start;
        margin-bottom: 1.75rem;
        padding-left: 0;
    }

    .timeline-marker {
        position: relative;
        left: auto;
        top: 0;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-date {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        max-width: 100%;
        margin-bottom: 0.85rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .timeline-badge {
        margin-bottom: 0.85rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .timeline-content h4 {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 1rem;
    }

    .timeline-details {
        margin-top: 1rem;
    }

    .gpa-info {
        padding: 0.9rem 1rem;
    }

    .course-tags,
    .tech-tags {
        gap: 0.5rem;
    }

    .course-tag,
    .tech-tag {
        font-size: 0.78rem;
        max-width: 100%;
    }

    .achievement-item {
        gap: 0.85rem;
        padding: 0.9rem;
    }

    .achievement-text {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .project-card {
        margin-bottom: 2rem;
    }

    .experience-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .experience-date {
        min-width: auto;
        width: 100%;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-logo a {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-title .highlight {
        font-size: inherit;
    }

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

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

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

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .profile-card {
        max-width: 200px;
        height: 200px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .skills-cards-container {
        gap: 1.5rem;
    }

    .card-header {
        padding: 1.2rem;
    }

    .card-header i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .card-header h3 {
        font-size: 1.1rem;
    }

    .skill-categories {
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .skill-category h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .skill-items {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .skill-item {
        padding: 0.6rem 0.7rem;
        font-size: 0.9rem;
    }

    .skill-item i {
        font-size: 1rem;
    }

    .skill-item span {
        font-size: 0.8rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }

    .project-content p {
        font-size: 0.9rem;
    }

    .timeline-container {
        padding-top: 0.5rem;
    }

    .timeline-line {
        left: 18px;
    }

    .timeline-item {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .timeline-marker {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        border-width: 2px;
    }

    .timeline-content {
        padding: 1.15rem;
    }

    .timeline-date {
        padding: 0.45rem 0.8rem;
        font-size: 0.74rem;
        margin-bottom: 0.75rem;
    }

    .timeline-badge {
        font-size: 0.68rem;
        padding: 0.35rem 0.75rem;
        margin-bottom: 0.75rem;
    }

    .timeline-content h3 {
        font-size: 1.05rem;
    }

    .timeline-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.9rem;
    }

    .timeline-details {
        margin-top: 0.9rem;
    }

    .gpa-info,
    .achievement-item {
        padding: 0.85rem;
    }

    .achievement-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .achievement-text {
        font-size: 0.88rem;
    }

    .course-tag,
    .tech-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    .experience-item {
        padding: 1rem;
    }

    .experience-content h3 {
        font-size: 1.1rem;
    }

    .experience-content h4 {
        font-size: 0.9rem;
    }

    .experience-content li {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        padding: 12px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        right: 0.85rem;
        bottom: 0.85rem;
    }
}

/* Tiny Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }

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

    .hero-title .highlight {
        font-size: inherit;
    }

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

    .profile-card {
        max-width: 150px;
        height: 150px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .nav-logo a {
        font-size: 1rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-container {
        flex-direction: row;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .profile-card {
        max-width: 200px;
        height: 200px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .nav-link {
        padding: 15px 20px;
    }

    .btn {
        padding: 15px 30px;
        min-height: 48px;
    }

    .skill-item {
        padding: 15px;
    }

    .project-link {
        padding: 12px 16px;
    }
}

/* ==========================================
   RESUME DOWNLOAD STYLES
   ========================================== */
.resume-download {
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    border: none;
    text-align: center;
}

.resume-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resume-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hover);
    background: var(--primary-dark);
}

.resume-btn:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0px var(--border);
}

.resume-btn i {
    font-size: 1.3rem;
    transition: all var(--transition-fast);
}

.resume-btn:hover i {
    transform: translateY(-3px);
}

.resume-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Mobile resume button */
@media (max-width: 768px) {
    .resume-download {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .resume-btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    .resume-note {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .resume-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .resume-btn i {
        font-size: 1.1rem;
    }
}

/* ==========================================
   CONTACT CENTERED STYLES
   ========================================== */
.contact-content-centered {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}
