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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

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

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

.nav-link:hover {
    color: #666;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.greeting {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0.5rem;
}

.name {
    display: block;
    color: #333;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #333;
    color: white;
    border: 2px solid #333;
}

.btn-primary:hover {
    background: transparent;
    color: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* Code Window */
.hero-visual {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.code-window {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.window-header {
    background: #2d2d2d;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.window-content {
    padding: 1.5rem;
    background: #1e1e1e;
}

.window-content pre {
    margin: 0;
    color: #d4d4d4;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.window-content code {
    color: #d4d4d4;
}

/* Sections */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

/* About Section */
.about {
    background: #f8f9fa;
}

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

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

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

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

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

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

.project-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: #333;
    color: white;
}

.project-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    color: #555;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    font-weight: 500;
}

/* Additional Projects Section */
.additional-projects {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 3rem;
    margin-top: 3rem;
}

.additional-projects-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* Skills Section */
.skills {
    background: #f8f9fa;
}

/* Blogs Section */
.blogs {
    background: white;
}

.blogs-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.blogs-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blogs-platform {
    margin-bottom: 2rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-link:hover {
    background: #555;
    transform: translateY(-2px);
}

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

.platform-text {
    font-size: 1rem;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

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

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

.blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 1rem;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-tag {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    font-weight: 500;
}

.blog-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    color: #666;
}

.blog-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-link:hover::after {
    transform: translateX(3px);
}

.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

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

.skill-category {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.skill-category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* Recognition Section */
.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.recognition-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.recognition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.recognition-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.recognition-description {
    color: #555;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-link, .contact-text {
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #666;
}

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

.social-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 2px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-text {
    font-size: 0.9rem;
    color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */

/* Tablet and small desktop */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }

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

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

    .blogs-grid, .blogs-fallback {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

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

/* Mobile and tablet */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 2rem 1rem;
        min-height: 90vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .greeting {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

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

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

    .hero-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

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

    .hero-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Code Window Mobile */
    .code-window {
        margin-top: 2rem;
    }

    .window-content pre {
        font-size: 0.8rem;
        line-height: 1.4;
        overflow-x: auto;
    }

    /* Sections Mobile */
    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .stat {
        padding: 1.5rem 1rem;
        flex: 1;
    }

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

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

    /* Projects Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

    .project-links {
        align-self: stretch;
    }

    .project-link {
        width: 100%;
        text-align: center;
    }

    /* Additional Projects Mobile */
    .additional-projects {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .additional-projects-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    /* Blogs Mobile */
    .blogs-intro {
        margin-bottom: 2rem;
    }

    .blogs-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .platform-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .blogs-grid, .blogs-fallback {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card {
        padding: 1.5rem;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blog-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .blog-date {
        margin-left: 0;
        font-size: 0.8rem;
    }

    .blog-excerpt {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .blog-meta {
        gap: 0.4rem;
    }

    .blog-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    /* Skills Mobile */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    .skill-category-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .skill-tags {
        gap: 0.6rem;
    }

    .skill-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    /* Recognition Mobile */
    .recognition-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .recognition-item {
        padding: 1.5rem;
    }

    .recognition-title {
        font-size: 1.2rem;
    }

    .recognition-description {
        font-size: 0.95rem;
    }

    /* Contact Mobile */
    .contact-content {
        padding: 0 1rem;
    }

    .contact-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .contact-label {
        font-size: 0.85rem;
    }

    .contact-link, .contact-text {
        font-size: 1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-link {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .nav-container {
        padding: 0 0.8rem;
    }

    .hero {
        padding: 1.5rem 0.8rem;
        min-height: 85vh;
    }

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

    .greeting {
        font-size: 1rem;
    }

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

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

    .hero-badges {
        gap: 0.6rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .btn-primary, .btn-secondary {
        max-width: 260px;
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .code-window {
        margin-top: 1.5rem;
    }

    .window-content {
        padding: 1rem;
    }

    .window-content pre {
        font-size: 0.75rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 0.8rem;
    }

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

    /* About section */
    .about-text p {
        font-size: 0.95rem;
    }

    .stat {
        padding: 1.2rem 0.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    /* Projects */
    .project-card {
        padding: 1.2rem;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.95rem;
    }

    .project-features li {
        font-size: 0.9rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    /* Additional Projects */
    .additional-projects {
        padding: 1.5rem 0.8rem;
    }

    .additional-projects-title {
        font-size: 1.6rem;
    }

    /* Blogs */
    .blogs-description {
        font-size: 1rem;
    }

    .platform-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .blog-card {
        padding: 1.2rem;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-excerpt {
        font-size: 0.9rem;
    }

    .blog-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    /* Skills */
    .skill-category {
        padding: 1.2rem;
    }

    .skill-category-title {
        font-size: 1.1rem;
    }

    .skill-tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    /* Recognition */
    .recognition-item {
        padding: 1.2rem;
    }

    .recognition-title {
        font-size: 1.1rem;
    }

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

    /* Contact */
    .contact-description {
        font-size: 1rem;
    }

    .contact-item {
        padding: 1.2rem;
    }

    .contact-label {
        font-size: 0.8rem;
    }

    .contact-link, .contact-text {
        font-size: 0.95rem;
    }

    .social-link {
        max-width: 220px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-text {
        font-size: 0.8rem;
    }
}

/* Code Syntax Highlighting */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6a9955;
}

.token.punctuation {
    color: #d4d4d4;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #b5cea8;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #ce9178;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #d4d4d4;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #569cd6;
}

.token.function,
.token.class-name {
    color: #dcdcaa;
}

.token.regex,
.token.important,
.token.variable {
    color: #d16969;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
