/* Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #1f2937;
    --accent-color: #be185d;
    --accent-hover: #9f1239;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-bg: #f3f4f6;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-outline i {
    font-size: 1rem;
}

/* Left Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background-color: var(--text-color);
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-content {
    flex: 1;
    padding: 2rem 0;
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-profile {
    margin-bottom: 1.5rem;
}

.sidebar-profile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.sidebar-profile img:hover {
    transform: scale(1.05);
    border-color: white;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.logo:hover {
    color: var(--primary-color);
}

.sidebar-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

.sidebar-nav {
    padding: 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--primary-color);
}

.nav-links a i {
    font-size: 1.1rem;
    width: 20px;
}

.hamburger {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: var(--transition);
}

/* Main Content Area */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    padding: 2rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
.hero-text {
    text-align: left;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: white;
}

.about .container {
    width: 100%;
}

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

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Skills Section */
.skills-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: white;
}

.skills-section .container {
    width: 100%;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-main,
.skills-sidebar {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.skill-group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.skill-group-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.skill-group-header h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin: 0;
}

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

.skill-badge {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    background: var(--light-bg);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid #e5e7eb;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.skill-badge:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(190, 24, 93, 0.3);
}

.skill-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(31, 41, 55, 0.95);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: normal;
    width: 250px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.skill-badge::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(31, 41, 55, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}

.skill-badge:hover::after,
.skill-badge:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.tool-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.tool-item {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    border: 2px solid #e5e7eb;
    transition: var(--transition);
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
}

.tool-item:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(190, 24, 93, 0.3);
}

.tool-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(31, 41, 55, 0.95);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: normal;
    width: 220px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tool-item::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(31, 41, 55, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}

.tool-item:hover::after,
.tool-item:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Projects Section */
.projects {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: white;
}

.projects .container {
    width: 100%;
}

.project-horizontal {
    display: flex;
    gap: 2.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    transition: var(--transition);
}

.project-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image-horizontal {
    flex-shrink: 0;
    width: 300px;
}

.project-image-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.project-horizontal:hover .project-image-horizontal img {
    transform: scale(1.05);
}

.project-content-horizontal {
    flex: 1;
}

.project-content-horizontal h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.project-organization {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.project-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-brief {
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.highlight-item span {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.highlight-item strong {
    color: var(--text-color);
}

/* Experience Section */
.experience {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: white;
}

.experience .container {
    width: 100%;
}

.experience-tabs {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 250px;
}

.tab-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    border: 2px solid transparent;
    border-left: 3px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.tab-button:hover {
    background: white;
    border-left-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.tab-button.active {
    background: white;
    border-left-color: var(--primary-color);
    box-shadow: var(--box-shadow);
}

.tab-company {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.tab-role {
    font-size: 0.9rem;
    color: var(--light-text);
}

.tab-content-container {
    flex: 1;
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

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

.at-company {
    color: var(--primary-color);
}

.duration {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content ul li {
    margin-bottom: 1rem;
    color: var(--light-text);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

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

/* Leadership Section */
.leadership {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: white;
}

.leadership .container {
    width: 100%;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.leadership-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.leadership-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.leadership-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leadership-icon i {
    font-size: 1.8rem;
    color: white;
}

.leadership-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

.company-location {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

.company-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 0.25rem 0 0.5rem 0;
}

.location-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0.25rem 0;
    font-weight: 400;
}

.leadership-description {
    color: var(--light-text);
    line-height: 1.8;
    margin: 0;
}

/* Hobbies Section */
.hobbies {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: white;
}

.hobbies .container {
    width: 100%;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hobby-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hobby-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.hobby-icon i {
    font-size: 2rem;
    color: white;
}

.hobby-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
}

.hobby-card p {
    color: var(--light-text);
    line-height: 1.8;
    margin: 0;
}

/* Education Section */
.education {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background-color: white;
}

.education .container {
    width: 100%;
}

.education-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.education-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid #e5e7eb;
}

.education-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

.education-top {
    background: var(--light-bg);
    padding: 2rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.degree-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.degree-badge {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    border: 2px solid #e5e7eb;
}

.university-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    color: var(--light-text);
}

.year-badge {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid #e5e7eb;
}

.education-divider {
    height: 2px;
    background: #e5e7eb;
}

.education-body {
    padding: 2rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.location-info i {
    color: var(--primary-color);
    font-size: 1rem;
}

.education-text {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.course-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.course-chips span {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: var(--transition);
}

.course-chips span:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    text-align: center;
    background-color: white;
}

.contact .container {
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.contact-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--light-text);
    margin: 0;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin: 0;
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image img {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .skills-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tool-list {
        grid-template-columns: 1fr;
    }
    
    .project-horizontal {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .project-image-horizontal {
        width: 100%;
    }
    
    .experience-tabs {
        flex-direction: column;
    }
    
    .tab-buttons {
        flex-direction: row;
        overflow-x: auto;
        min-width: 100%;
    }
    
    .tab-button {
        min-width: 200px;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .education-container {
        grid-template-columns: 1fr;
    }
    
    .education-top {
        flex-direction: column;
        gap: 1rem;
    }
    
    .year-badge {
        align-self: flex-start;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .education-details {
        padding-left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .hero-image img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    
    .hero-image img {
        width: 200px;
        height: 200px;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
}
