* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
    background: #fafafa;
    color: #111;
    display: flex;
    position: relative;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #fff;
    height: 100vh;
    position: fixed;
    border-right: 2px solid #000;
    padding: 30px 0;
    z-index: 100;
}

.profile-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px 25px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.profile-mini img {
    width: 45px;
    height: 45px;
    border-radius: 0;
    object-fit: cover;
    border: 2px solid #000;
}

.profile-mini h3 {
    font-size: 0.95em;
    color: #000;
    margin-bottom: 3px;
    font-weight: 700;
}

.profile-mini p {
    font-size: 0.8em;
    color: #666;
}

.nav-menu {
    list-style: none;
}

.nav-link {
    display: block;
    padding: 11px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: #f5f5f5;
    color: #dc2626;
    border-left-color: #dc2626;
}

.nav-link.active {
    background: #000;
    color: #fff;
    border-left-color: #dc2626;
    font-weight: 600;
}

.sidebar-footer {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: #fff;
    border: 1px solid #000;
    border-radius: 0;
    font-size: 0.8em;
    color: #000;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #dc2626;
    border-radius: 0;
}

/* Main Content */
.main-content {
    margin-left: 240px;
    flex: 1;
    padding: 40px 60px;
    max-width: 1600px;
    display: flex;
    gap: 40px;
}

.content-main {
    flex: 1;
    max-width: 1000px;
}

.content-sidebar {
    width: 280px;
    position: sticky;
    top: 40px;
    height: fit-content;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card animations */
.about-card,
.skill-category,
.project-card,
.timeline-item,
.award-card,
.cert-card {
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2em;
    color: #000;
    margin-bottom: 35px;
    font-weight: 800;
    border-bottom: 3px solid #dc2626;
    padding-bottom: 10px;
    display: inline-block;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 30px 0 50px;
    border-bottom: 2px solid #000;
    margin-bottom: 40px;
}

.greeting {
    font-size: 1em;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 2.6em;
    color: #000;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 900;
}

.highlight {
    color: #dc2626;
}

.subtitle {
    font-size: 1.05em;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: all 0.2s;
}

.contact-link:hover {
    color: #dc2626;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #000;
    color: #fff;
    font-size: 1.2em;
    border: 2px solid #000;
    transition: all 0.2s;
}

.contact-link:hover .contact-icon {
    background: #dc2626;
    border-color: #dc2626;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-frame img {
    width: 260px;
    height: 260px;
    border-radius: 0;
    object-fit: cover;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #dc2626;
}

/* About Section */
.about-section {
    margin-top: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-card {
    background: #fff;
    padding: 25px;
    border: 2px solid #000;
    border-radius: 0;
    transition: all 0.2s;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 0 #dc2626;
}

.about-card h3 {
    color: #000;
    font-size: 1.1em;
    margin-bottom: 12px;
    font-weight: 700;
}

.about-card p {
    color: #444;
    line-height: 1.7;
    font-size: 0.93em;
}

/* Education Section */
.education-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #000;
}

.subsection-title {
    font-size: 1.5em;
    color: #000;
    font-weight: 700;
    margin-bottom: 30px;
    border-left: 4px solid #dc2626;
    padding-left: 12px;
}

/* Skills Section */
.skills-wrapper {
    display: grid;
    gap: 25px;
}

.skill-category {
    background: #fff;
    padding: 28px;
    border: 2px solid #000;
    border-radius: 0;
}

.category-header h3 {
    color: #000;
    font-size: 1.15em;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 4px solid #dc2626;
    padding-left: 12px;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
}

.skill-info span:first-child {
    font-weight: 600;
    color: #000;
}

.skill-info span:last-child {
    color: #666;
    font-size: 0.85em;
}

.progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #ddd;
}

.progress-fill {
    height: 100%;
    border-radius: 0;
    transition: width 0.8s ease;
}

.progress-fill.aws {
    background: #000;
}

.progress-fill.azure {
    background: #dc2626;
}

.progress-fill.gcp {
    background: #666;
}

.skill-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 18px;
}

.skill-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon-box {
    width: 60px;
    height: 60px;
    border: 2px solid #000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.2s;
}

.icon-text {
    font-size: 1.8em;
    font-weight: 800;
    color: #000;
}

.skill-icon-item:hover .icon-box {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 3px 3px 0 #dc2626;
}

.skill-icon-item:hover .icon-text {
    color: #fff;
}

.skill-icon-item span {
    font-size: 0.85em;
    font-weight: 600;
    color: #333;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

.project-card {
    background: #fff;
    padding: 28px;
    border: 2px solid #000;
    border-radius: 0;
    position: relative;
    transition: all 0.2s;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #dc2626;
}

.project-card.aws-project::before {
    background: #ff9900;
}

.project-card.azure-project::before {
    background: #0078d4;
}

.project-card.ai-project::before {
    background: #8b5cf6;
}

.project-card.gcp-project::before {
    background: #4285f4;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 #000;
}

.project-number {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 3em;
    font-weight: 900;
    color: #f5f5f5;
    line-height: 1;
}

.project-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 0;
    font-size: 0.75em;
    font-weight: 700;
    margin-bottom: 12px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
}

.project-badge.gcp {
    background: #e8f0fe;
    color: #1967d2;
    border-color: #4285f4;
}

.project-card h3 {
    color: #000;
    font-size: 1.5em;
    margin-bottom: 14px;
    font-weight: 700;
}

.project-desc {
    color: #444;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 0.93em;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.project-tech span {
    padding: 5px 12px;
    background: #f5f5f5;
    color: #333;
    border-radius: 0;
    font-size: 0.8em;
    font-weight: 500;
    border: 1px solid #ddd;
}

.project-footer {
    padding-top: 16px;
    border-top: 2px solid #000;
}

.project-link {
    color: #dc2626;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.93em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.project-link:hover {
    color: #000;
}

.arrow {
    transition: transform 0.2s;
}

.project-link:hover .arrow {
    transform: translateX(3px);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #000;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-marker {
    position: absolute;
    left: -50px;
    top: 0;
}

.marker-icon {
    width: 42px;
    height: 42px;
    background: #dc2626;
    border-radius: 0;
    border: 3px solid #000;
}

.timeline-content {
    background: #fff;
    padding: 24px;
    border: 2px solid #000;
    border-radius: 0;
    transition: all 0.2s;
}

.timeline-content:hover {
    box-shadow: 5px 5px 0 #dc2626;
}

.timeline-date {
    display: inline-block;
    padding: 5px 12px;
    background: #000;
    color: #fff;
    border-radius: 0;
    font-size: 0.8em;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content h3 {
    color: #000;
    font-size: 1.15em;
    margin-bottom: 12px;
    font-weight: 700;
}

.timeline-content p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 0.93em;
}

.education-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.education-tags span {
    padding: 5px 12px;
    background: #f5f5f5;
    color: #333;
    border-radius: 0;
    font-size: 0.8em;
    font-weight: 500;
    border: 1px solid #ddd;
}

/* Awards Section */
.awards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.awards-group {
    background: #fff;
    padding: 28px;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.group-title {
    color: #000;
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid #dc2626;
    padding-left: 12px;
}

.awards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.award-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: all 0.2s;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.award-card:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 rgba(220, 38, 38, 0.2);
}

.award-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.award-name {
    font-size: 1em;
    color: #000;
    font-weight: 700;
    line-height: 1.4;
}

.award-grade {
    font-size: 0.9em;
    color: #dc2626;
    font-weight: 700;
    white-space: nowrap;
}

.award-meta {
    color: #666;
    font-size: 0.85em;
    margin-bottom: 10px;
    line-height: 1.5;
}

.award-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 0;
    font-size: 0.75em;
    color: #666;
    font-weight: 600;
    border: 1px solid #ddd;
}

.award-content h4 {
    color: #000;
    font-size: 1em;
    margin-bottom: 6px;
    font-weight: 600;
}

.award-content p {
    color: #666;
    font-size: 0.88em;
    margin-bottom: 8px;
}

.competition-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.competition-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: all 0.2s;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.competition-card:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 rgba(220, 38, 38, 0.2);
}

.comp-info h4 {
    color: #000;
    font-size: 1.08em;
    margin-bottom: 6px;
    font-weight: 600;
}

.comp-info p {
    color: #555;
    font-size: 0.9em;
}

/* Certificates Section */
.certs-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.certs-group {
    background: #fff;
    padding: 28px;
    border: 2px solid #000;
    border-radius: 0;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.certs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.cert-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    transition: all 0.2s;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.cert-card:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 rgba(220, 38, 38, 0.2);
}

.cert-card h4 {
    color: #000;
    margin-bottom: 10px;
    font-size: 1.05em;
    font-weight: 700;
}

.cert-issuer {
    color: #666;
    font-size: 0.85em;
    margin-bottom: 8px;
}

.cert-date {
    color: #dc2626;
    font-size: 0.8em;
    font-weight: 700;
}

/* Sidebar Widgets */
.widget {
    background: #fff;
    border: 2px solid #000;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.widget h4 {
    color: #000;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: #444;
    font-size: 0.9em;
}

.stat-value {
    color: #000;
    font-weight: 700;
    font-size: 0.9em;
}

.quick-link {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    margin-bottom: 8px;
    transition: all 0.2s;
    font-size: 0.9em;
}

.quick-link:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateX(5px);
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    background: #fff;
    transition: all 0.2s;
}

.tech-icon:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: rotate(5deg) scale(1.1);
}

/* Cloud Platform Widget with Progress Bars */
.cloud-platform-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.platform-item-bar {
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.platform-item-bar:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.platform-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.platform-name {
    font-weight: 700;
    color: #000;
    font-size: 0.95em;
}

.platform-percent {
    font-size: 0.85em;
    color: #dc2626;
    font-weight: 700;
}

.platform-progress {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    margin-bottom: 6px;
}

.platform-progress-fill {
    height: 100%;
    transition: width 0.8s ease;
}

.platform-services {
    color: #666;
    font-size: 0.75em;
    line-height: 1.3;
    margin: 0;
}

/* Skill Grid Widget */
.skill-grid-widget {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.skill-box-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border: 2px solid #000;
    background: #fff;
    transition: all 0.2s;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.skill-box-widget:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 rgba(220, 38, 38, 0.3);
}

.skill-box-widget:hover .skill-icon-widget {
    color: #dc2626;
}

.skill-box-widget:hover .skill-label {
    color: #fff;
}

.skill-icon-widget {
    font-size: 1.8em;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.skill-label {
    font-size: 0.75em;
    font-weight: 700;
    color: #000;
    text-align: center;
    transition: all 0.2s;
}

/* Responsive */
@media (max-width: 1400px) {
    .content-sidebar {
        display: none;
    }
    
    .content-main {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .main-content {
        padding: 35px 45px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 2px solid #000;
        padding: 20px 0;
    }
    
    .sidebar-footer {
        position: static;
        margin-top: 15px;
        padding: 0 20px;
    }
    
    .main-content {
        margin-left: 0;
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.6em;
    }
    
    .hero-content h1 {
        font-size: 2em;
    }
    
    .about-grid,
    .projects-grid,
    .awards-list {
        grid-template-columns: 1fr;
    }
}

