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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0f172a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #1e293b 0%, #232e3a 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.1rem 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #4fc3ff 0%, #fbbf24 100%);
    border-image-slice: 1;
    font-size: 1.13rem;
    box-shadow: 0 2px 16px 0 #0004;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-logo { display: none !important; }

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

.nav-link {
    position: relative;
    color: #e5e7eb;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4fc3ff 0%, #fbbf24 100%);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #4fc3ff;
    text-decoration: none !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #e5e7eb;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - robust, compact, no grid/flex */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: 340px;
    background: #181f2a;
    overflow: hidden;
}
.hero::before { display: none !important; }
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    padding: 0 12px;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: #fbbf24;
    text-shadow: 0 0 16px #fbbf2455, 0 2px 8px #000a;
    letter-spacing: 0.01em;
    transition: text-shadow 0.3s;
}
.hero-title:hover {
    text-shadow: 0 0 32px #fbbf24cc, 0 2px 16px #000a;
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #4fc3ff;
    text-shadow: 0 1px 8px #232e3a88;
}
.hero-description {
    font-size: 1.08rem;
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.5;
    text-shadow: 0 1px 8px #232e3a55;
}

/* Remove old .hero-container and .compact-hero styles */
.compact-hero, .hero-container { display: none !important; }

/* Remove profile-placeholder styles */
.profile-placeholder { display: none !important; }

/* Section Styles */
section {
    padding: 28px 0 18px 0;
}
.section-title {
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
}

/* Experience and Education already compact, but reduce further */
.experience-list, .education-list {
    gap: 0.7rem;
}
.experience-item, .education-item {
    padding: 0.7rem 0.7rem;
    font-size: 0.98em;
}
.experience-header, .education-header {
    font-size: 1em;
    margin-bottom: 0.1rem;
}
.experience-item ul, .education-details {
    font-size: 0.97em;
}

.footer {
    padding: 0.7rem 0;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .experience-item, .education-item {
        padding: 0.5rem 0.3rem;
    }
    .section-title {
        font-size: 1rem;
    }
    .navbar {
        padding: 0.9rem 0;
        font-size: 1.01rem;
    }
    .hero {
        padding-top: 110px;
        padding-bottom: 32px;
        min-height: 220px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1.08rem;
    }
    .hero-description {
        font-size: 0.98rem;
    }
}

/* About Section */
.about {
    background-color: #1e293b;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #0f172a;
    border-radius: 8px;
    border: 1px solid #334155;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-3px);
    border-color: #60a5fa;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.25rem;
}

.stat p {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #334155;
    transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 1.5rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 1.5rem;
    text-align: left;
}

.timeline-content {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #334155;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    border-color: #60a5fa;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #60a5fa;
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -48px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -48px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.timeline-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
}

.timeline-date {
    background: #60a5fa;
    color: #0f172a;
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.timeline-content h4 {
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.timeline-content p {
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.timeline-content ul {
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
}

.timeline-content li {
    color: #cbd5e1;
    margin-bottom: 0.25rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    background: #334155;
    color: #e5e7eb;
    padding: 0.2rem 0.6rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills {
    background-color: #1e293b;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 1rem;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    background: #0f172a;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #334155;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    border-color: #60a5fa;
}

.skill-name {
    display: block;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: #334155;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, #60a5fa 0%, #fbbf24 100%);
    border-radius: 3px;
    transition: width 1s ease;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: #60a5fa;
    color: #0f172a;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: #181f2a;
    padding: 36px 0 24px 0;
    border-top: 2px solid #232e3a;
}
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2em;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1.2em;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.7em;
    font-size: 1.13em;
    color: #cbd5e1;
    background: #232e3a;
    border-radius: 10px;
    padding: 0.7em 1.2em;
    box-shadow: 0 1px 6px #0002;
    transition: background 0.2s, color 0.2s;
}
.contact-item i {
    font-size: 1.3em;
    color: #4fc3ff;
}
.contact-item a {
    color: #4fc3ff;
    text-decoration: underline dotted;
    transition: color 0.2s;
}
.contact-item a:hover {
    color: #fbbf24;
    text-decoration: underline solid;
}
.contact-username {
    cursor: pointer;
    color: #4fc3ff;
    text-decoration: underline dotted;
    border-bottom: none;
    transition: color 0.2s, text-decoration 0.2s;
}
.contact-username:hover, .contact-username:active {
    color: #fbbf24;
    text-decoration: underline solid;
}
.copied-feedback {
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
@media (max-width: 600px) {
    .contact-methods {
        flex-direction: column;
        gap: 1.1em;
        align-items: flex-start;
    }
    .contact-item {
        width: 100%;
        padding: 0.7em 0.7em;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Experience List (Compact) */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.experience-item {
    background: #232e3a;
    border-radius: 16px;
    border: 1.5px solid #334155;
    box-shadow: 0 2px 12px 0 #0002;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.18s;
    margin-bottom: 0.7em;
    padding: 1.1rem 1.3rem;
    color: #e5e7eb;
}
.experience-item:hover {
    box-shadow: 0 6px 32px 0 #4fc3ff33, 0 2px 16px 0 #0004;
    border-color: #4fc3ff;
    transform: translateY(-2px) scale(1.012);
}

.experience-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}
.experience-role {
    font-weight: 700;
    color: #fbbf24;
}
.experience-title {
    font-weight: 500;
    color: #60a5fa;
    font-size: 0.98em;
}
.experience-dates {
    margin-left: auto;
    font-size: 0.95em;
    color: #cbd5e1;
    font-weight: 400;
    white-space: nowrap;
}
.experience-item ul {
    margin-left: 1.2em;
    margin-top: 0.2em;
    margin-bottom: 0;
    padding-left: 0;
    list-style: disc inside;
}
.experience-item li {
    font-size: 0.98em;
    color: #cbd5e1;
    margin-bottom: 0.2em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .experience-item {
        padding: 0.9rem 0.7rem;
    }
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .experience-dates {
        margin-left: 0;
    }
}

/* Education List (Compact) */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.education-item {
    background: #232e3a;
    border-radius: 16px;
    border: 1.5px solid #334155;
    box-shadow: 0 2px 12px 0 #0002;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.18s;
    margin-bottom: 0.7em;
    padding: 1.1rem 1.3rem;
    color: #e5e7eb;
}
.education-item:hover {
    box-shadow: 0 6px 32px 0 #4fc3ff33, 0 2px 16px 0 #0004;
    border-color: #4fc3ff;
    transform: translateY(-2px) scale(1.012);
}
.education-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}
.education-school {
    font-weight: 700;
    color: #fbbf24;
}
.education-dates {
    color: #cbd5e1;
    font-size: 0.98em;
    font-weight: 400;
    white-space: nowrap;
    font-style: normal;
}
.education-details {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.98em;
    font-style: italic;
    color: #cbd5e1;
    gap: 1.5rem;
}
.education-degree {
    font-style: italic;
    color: #60a5fa;
}
.education-grade {
    font-style: italic;
    color: #cbd5e1;
    font-size: 0.98em;
    margin-left: auto;
}
.education-grade strong {
    color: #fbbf24;
    font-weight: 700;
    font-style: italic;
}
@media (max-width: 768px) {
    .education-item {
        padding: 0.9rem 0.7rem;
    }
    .education-header, .education-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .education-grade {
        margin-left: 0;
    }
}

/* Clients subsection in Experience */
.clients {
    margin-top: 0.3em;
    font-size: 0.97em;
}
.clients-label {
    font-weight: 600;
    color: #60a5fa;
    margin-right: 0.5em;
}
.clients-list {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}
.clients-list li {
    display: inline;
    margin-right: 1.2em;
    border-radius: 10px;
    padding: 0.2em 0.3em;
    transition: background 0.2s;
}
.clients-list li:hover {
    background: #1e293b;
}
.client-twitter {
    color: #94a3b8;
    font-size: 0.96em;
}
.clients-list a {
    color: #4fc3ff;
    text-decoration: underline dotted;
    transition: color 0.2s;
}
.clients-list a:hover {
    color: #90e0ff;
    text-decoration: underline solid;
}

a, .experience-role a, .clients-list a {
    color: #4fc3ff;
    text-decoration: underline dotted;
    transition: color 0.2s;
}
a:hover, .experience-role a:hover, .clients-list a:hover {
    color: #90e0ff;
    text-decoration: underline solid;
}

.exp-tags {
    margin-top: 0.4em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
}
.exp-tag {
    background: linear-gradient(90deg, #232e3a 60%, #1e293b 100%);
    color: #4fc3ff;
    border-radius: 12px;
    padding: 0.18em 0.8em;
    font-size: 0.97em;
    font-weight: 500;
    letter-spacing: 0.01em;
    border: 1px solid #334155;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px #0002;
}
.exp-tag:hover {
    background: #4fc3ff;
    color: #0f172a;
    border-color: #4fc3ff;
    box-shadow: 0 2px 8px #4fc3ff55;
}

/* Square icon buttons for hero links */
.hero-links {
    margin-top: 2.2em;
    display: flex;
    gap: 1.1em;
}
.hero-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #232e3a;
    border-radius: 10px;
    border: 1.5px solid #334155;
    color: #4fc3ff;
    font-size: 1.7rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 1px 6px #0002;
    text-decoration: none;
}
.hero-btn:hover {
    background: #4fc3ff;
    color: #181f2a;
    border-color: #4fc3ff;
    box-shadow: 0 2px 12px #4fc3ff55;
} 