/* Modern Portfolio CSS - Inspired by Apple Design Principles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
/* FontAwesome loaded via CDN in HTML */

/* Hide scrollbar but keep functionality */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none; /* WebKit */
    width: 0;
    height: 0;
}

/* Icon Styles */
.icon {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon.solid {
    font-weight: 900;
}

.icon.brands {
    font-weight: 400;
}

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 1rem;
    color: #6e6e73;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

#header h1 a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

#header h1 a:hover {
    color: #007aff;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav a:hover {
    color: #007aff;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007aff;
    transition: width 0.3s ease;
}

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

.mobile-nav {
    display: none;
}

.menu-toggle {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23000" opacity="0.02"/><circle cx="10" cy="60" r="0.5" fill="%23000" opacity="0.02"/><circle cx="90" cy="40" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    flex: 1;
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-text h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #6e6e73;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1rem;
    color: #6e6e73;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem; /* Add space below buttons to prevent scroll indicator overlap */
    position: relative;
    z-index: 5;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.button.primary {
    background: #007aff;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.button.primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.button.secondary {
    background: #1d1d1f;
    color: white;
    border: 2px solid #1d1d1f;
}

.button.secondary:hover {
    background: #333;
    color: white;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 29, 31, 0.3);
}

.button.tertiary {
    background: #f8f9fa;
    color: #1d1d1f;
    border: 2px solid #e5e5e7;
}

.button.tertiary:hover {
    background: #e5e5e7;
    color: #1d1d1f;
    transform: translateY(-2px);
}


.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #6e6e73;
    font-size: 0.9rem;
    z-index: 2;
    margin-top: 2rem; /* Add space from buttons */
}

@media (min-width: 769px) {
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
    }
    
    .hero {
        padding-bottom: 120px; /* Add more space for scroll indicator */
        min-height: calc(100vh + 50px); /* Ensure enough space even when zoomed */
    }
    
    .hero-actions {
        margin-bottom: 6rem; /* More space on desktop */
    }
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: #6e6e73;
    margin: 0.5rem auto 0;
    position: relative;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 20% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Section Styling */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.section-header p {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: #f5f5f7;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #1d1d1f;
}

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

.skill-category h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: #6e6e73;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: '•';
    color: #007aff;
    position: absolute;
    left: 0;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Experience Section */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.experience-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.experience-content h3 {
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.experience-content h4 {
    color: #007aff;
    font-weight: 500;
    margin-bottom: 1rem;
}

.experience-content p {
    color: #6e6e73;
    margin-bottom: 1.5rem;
}

.experience-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.experience-link:hover {
    color: #0056b3;
}

.experience-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.experience-item:hover .experience-image img {
    transform: scale(1.05);
}

.experience-content {
    flex: 1;
}

/* Projects Section */
.projects-section {
    background: #f5f5f7;
}

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

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.project-image {
    height: 200px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-content {
    padding: 2rem;
    padding-bottom: 3rem; /* Add extra space for featured box */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 16px 16px;
}

.project-content h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.project-content p {
    color: #6e6e73;
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: #f0f0f0;
    color: #1d1d1f;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.project-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #0056b3;
}

.projects-footer {
    text-align: center;
}

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

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

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-date, .blog-category {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-date {
    background: #e5e5e7;
    color: #6e6e73;
}

.blog-category {
    background: #007aff;
    color: white;
}

.blog-card h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.blog-card p {
    color: #6e6e73;
    margin-bottom: 1.5rem;
}

.blog-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #0056b3;
}

.blog-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.blog-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #6e6e73;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 20px;
    color: #007aff;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: #1d1d1f;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-item a, .contact-item span {
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #007aff;
}

.contact-cta {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e7;
    text-align: center;
}

.contact-cta h3 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-cta p {
    color: #6e6e73;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-buttons .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.contact-buttons .button.primary {
    background: #007aff;
    color: white;
    border: 2px solid #007aff;
}

.contact-buttons .button.primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.contact-buttons .button.secondary {
    background: #1d1d1f;
    color: white;
    border: 2px solid #1d1d1f;
}

.contact-buttons .button.secondary:hover {
    background: #333;
    color: white;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 29, 31, 0.3);
}

@media (max-width: 768px) {
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .button {
        width: 100%;
        max-width: 300px;
    }
}

/* Footer */
#footer {
    background: #1d1d1f;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    color: #a1a1a6;
    margin-bottom: 0.5rem;
}

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

.footer-link {
    color: #a1a1a6;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #007aff;
}

/* Mobile Menu */
#menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transition: right 0.3s ease;
}

#menu.active {
    right: 0;
}

#menu .inner {
    padding: 4rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu h2 {
    margin-bottom: 3rem;
    color: #1d1d1f;
}

#menu .links {
    list-style: none;
    text-align: center;
}

#menu .links li {
    margin-bottom: 2rem;
}

#menu .links a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

#menu .links a:hover {
    color: #007aff;
}

#menu .close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero {
        padding-top: 120px; /* Add even more padding to account for fixed header */
        padding-bottom: 60px; /* Add bottom padding for scroll indicator */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        order: 1;
    }
    
    .hero-image {
        order: 1; /* Image first */
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .hero-text {
        order: 2; /* Text second */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .scroll-indicator {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 2rem; /* Space from buttons */
        padding-top: 2rem; /* Additional padding to prevent overlap */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 4; /* Ensure it comes after everything */
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.25rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        display: flex;
        align-items: center;
        gap: 1rem;
        width: 100%;
        flex-direction: column;
        margin-bottom: 3rem; /* Space before scroll indicator on mobile */
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    /* Fix experience items for mobile */
    .experience-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .experience-image {
        order: 1;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    
    .experience-content {
        order: 2;
        text-align: center;
        width: 100%;
        overflow: hidden;
    }
    
    .experience-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .experience-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .experience-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        overflow: hidden;
    }
    
    .experience-content .tech-tags {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .experience-content .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .experience-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .experience-content h3 {
        font-size: 1rem;
    }
    
    .experience-content h4 {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
    
    .project-card,
    .blog-card,
    .experience-item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .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 fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Page Specific Styles */
.blog-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

.blog-section {
    padding: 4rem 0;
}

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

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

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.blog-card h2 {
    font-size: 1.5rem;
    color: #1d1d1f;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card p {
    color: #6e6e73;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Navigation Active State */
.desktop-nav a.active {
    color: #007aff;
}

.desktop-nav a.active::after {
    width: 100%;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Featured Project Styles */
.project-card.featured {
    border: 2px solid #007aff;
    position: relative;
}

.project-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: 30px;
    right: 25px;
    background: #007aff;
    color: white;
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
    white-space: nowrap;
    line-height: 1;
}

.project-award {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1d1d1f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    min-height: auto;
    margin-bottom: 0;
    flex-shrink: 0;
}

.achievements {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #007aff;
}

.achievements h4 {
    color: #1d1d1f;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.achievements li {
    padding: 0.5rem 0;
    color: #6e6e73;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Education Section */
.education-section {
    background: #f5f5f7;
}

.education-content {
    max-width: 1000px;
    margin: 0 auto;
}

.education-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

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

.education-header h3 {
    color: #1d1d1f;
    margin-bottom: 0;
}

.education-period {
    color: #007aff;
    font-weight: 600;
    font-size: 0.9rem;
}

.education-item h4 {
    color: #6e6e73;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-item p {
    color: #6e6e73;
    margin-bottom: 1.5rem;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.highlight-tag {
    background: #e3f2fd;
    color: #007aff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.course-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #007aff;
}

.course-item h5 {
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.course-item p {
    color: #6e6e73;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cert-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #34c759;
    text-align: center;
}

.cert-item h5 {
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cert-item p {
    color: #6e6e73;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Custom Image Sizing */
.education-image img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.project-image img[src*="GamebananaGameModdingLogo"] {
    transform: scale(0.8);
    object-fit: contain;
}

.project-image img[src*="UTDNovaLogo"] {
    transform: scale(0.9);
    object-fit: contain;
}

.project-image img[src*="KrogerWhatHomePage"] {
    transform: scale(0.8);
    object-fit: contain;
}

.experience-image img[src*="Frontier&VerizonLogo"] {
    transform: scale(0.7);
    object-fit: contain;
}

.experience-image img[src*="UTDNovaLogo"] {
    transform: scale(0.8);
    object-fit: contain;
}

/* Photo Gallery Styles */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
