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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
}

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

/* Main Dashboard Content */
.main-content {
    padding-bottom: 2rem;
    padding-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Dashboard Header */
header {
    background: #1a1a1a;
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hamburger Menu Button */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu:hover span {
    background: #ddd;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Centered Logo */
.logo-center {
    text-decoration: none;
    color: white;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.logo-role {
    font-size: 0.9rem;
    color: #ddd;
    font-weight: 400;
}

.logo-center:hover .logo-name {
    color: #ddd;
}

/* Header Spacer */
.header-spacer {
    width: 40px; /* Same width as hamburger for balance */
}

/* Slide-out Menu */
.slide-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #1a1a1a;
    transition: left 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
}

.slide-menu.active {
    left: 0;
}

.slide-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-menu-header h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0;
}

.menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-close:hover {
    color: #ddd;
    transform: rotate(90deg);
}

.slide-menu-links {
    list-style: none;
    padding: 1rem 0;
}

.slide-menu-links li {
    margin: 0;
}

.slide-menu-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.slide-menu-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: white;
}

.slide-menu-links a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

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

/* Main Dashboard Content */
.main-content {
    padding-bottom: 2rem;
    padding-top: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* KPI Cards Section */
.kpi-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #1a1a1a;
    transition: transform 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kpi-title {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-icon {
    font-size: 1.5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.kpi-change {
    font-size: 0.85rem;
    color: #666;
}

.kpi-change.positive {
    color: #28a745;
}

.kpi-change.negative {
    color: #dc3545;
}

/* Dashboard Section */
.dashboard-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f5f5f5;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.filter-btn:hover {
    background: #f5f5f5;
}

.filter-btn.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

/* Project Cards as Dashboard Widgets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-widget {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.project-widget:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.project-header {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.project-header h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.project-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

.project-status {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.project-metrics {
    padding: 1.5rem;
    background: #fafafa;
    border-bottom: 1px solid #e0e0e0;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
}

.metric-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
}

.project-body {
    padding: 1.5rem;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-badge {
    background: #1a1a1a;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.action-btn {
    flex: 1;
    padding: 0.7rem;
    border: 2px solid #1a1a1a;
    background: white;
    color: #1a1a1a;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: #1a1a1a;
    color: white;
}

.action-btn.primary {
    background: #1a1a1a;
    color: white;
}

.action-btn.primary:hover {
    background: #333;
}

/* Skills Dashboard */
.skills-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.skill-widget-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.skill-icon-large {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    flex-shrink: 0;
}

.skill-widget h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
}

.skill-level {
    color: #666;
    font-size: 0.9rem;
}

.skill-items {
    list-style: none;
}

.skill-items li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-items li:last-child {
    border-bottom: none;
}

.skill-items li::before {
    content: "•";
    color: #1a1a1a;
    font-weight: bold;
}

/* About Dashboard Card */
.about-dashboard {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

.profile-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #1a1a1a, #666666);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.profile-role {
    color: #666;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.about-content-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-content-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.about-content-card p {
    color: #666;
    margin-bottom: 1rem;
}

/* Education & Certifications Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.education-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    flex-shrink: 0;
}

.education-content h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.education-institution {
    color: #666;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-location {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.education-year {
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1rem;
}

/* Contact Dashboard */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-info h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #666;
    word-break: break-word;
}

.contact-info a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #666;
    text-decoration: underline;
}

.contact-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: #1a1a1a;
    color: white !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Resume Section */
.resume-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.resume-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    padding: 1.2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    max-width: 280px;
    width: 100%;
    transition: all 0.3s ease;
}

.resume-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Font Awesome Icon Styling */
.slide-menu-links a i {
    width: 20px;
    text-align: center;
}

.skill-icon-large i,
.education-icon i,
.contact-icon i,
.profile-avatar i,
.resume-icon i {
    font-size: inherit;
}

.kpi-icon i {
    font-size: inherit;
}

.download-icon i {
    font-size: inherit;
}

.resume-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    flex-shrink: 0;
}

.resume-content {
    flex: 1;
    text-align: center;
    width: 100%;
}

.resume-content h3 {
    color: #1a1a1a;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.resume-content p {
    color: #666;
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
    line-height: 1.3;
}

.resume-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.resume-download-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.resume-download-btn.disabled {
    background: #999;
    cursor: not-allowed;
}

.resume-download-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.download-icon {
    font-size: 1.2rem;
}

.resume-note {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

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

.project-modal.active {
    display: block;
}

.modal-content {
    background: white;
    margin: 3rem auto;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: white;
    padding: 2rem;
    border-radius: 10px 10px 0 0;
}

.modal-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.modal-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.modal-section p, .modal-section ul {
    color: #666;
    line-height: 1.8;
}

.modal-section ul {
    margin-left: 1.5rem;
}

.modal-section li {
    margin-bottom: 0.5rem;
}

.modal-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.modal-metric {
    text-align: center;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.modal-metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
}

.modal-metric-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
}

.view-details-btn {
    padding: 0.8rem 1.5rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.view-details-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.view-details-btn.primary-btn {
    background: #1a1a1a;
    color: white;
}

/* Skill Proficiency Bars */
.skill-progress {
    margin: 1.5rem 0;
}

.skill-progress-item {
    margin-bottom: 1.5rem;
}

.skill-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-progress-name {
    font-weight: 600;
    color: #1a1a1a;
}

.skill-progress-percent {
    color: #666;
    font-weight: 600;
}

.skill-progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a, #4a4a4a);
    border-radius: 10px;
    transition: width 1s ease;
    width: 0;
}

.skill-progress-fill.animate {
    animation: fillBar 1s ease forwards;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) {
    .about-dashboard {
        grid-template-columns: 1fr;
    }

    .profile-card {
        position: relative;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

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

/* Mobile Responsive (below 768px) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .logo-name {
        font-size: 1.2rem;
    }

    .logo-role {
        font-size: 0.8rem;
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-buttons {
        width: 100%;
    }

    .filter-btn {
        flex: 1;
        min-width: 60px;
        text-align: center;
    }

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

    .project-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .project-status {
        align-self: flex-start;
    }

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

    .skill-widget {
        padding: 1rem;
        min-width: 0;
    }

    .skill-widget-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .skill-items {
        font-size: 0.85rem;
    }

    .about-dashboard {
        grid-template-columns: 1fr;
    }

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

    .contact-card {
        flex-direction: row;
        text-align: left;
    }

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

    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .dashboard-section {
        padding: 1.5rem;
    }

    .main-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .project-actions {
        flex-direction: column;
    }

    .action-btn, .view-details-btn {
        width: 100%;
    }

    .resume-card {
        flex-direction: column;
        text-align: center;
    }

    .modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .modal-body {
        padding: 1.5rem;
        max-height: 60vh;
    }

    .modal-header {
        padding: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile (below 480px) */
@media (max-width: 480px) {
    .kpi-section {
        grid-template-columns: 1fr;
    }

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

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

    .kpi-card {
        padding: 1rem;
    }

    .kpi-value {
        font-size: 1.5rem;
    }

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

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

    .metric-value {
        font-size: 1.1rem;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .skill-icon-large {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Medium Mobile (481px - 767px) - Better 2-column layout */
@media (min-width: 481px) and (max-width: 767px) {
    .kpi-section {
        grid-template-columns: repeat(2, 1fr);
    }

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

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