/* Modern profile styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.tagline {
    color: #666;
    font-size: 1.2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.skill-tag {
    background: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 1rem 0;
}

.project-card {
    position: relative;
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 0;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.project-card-content {
    padding: 2rem;
    background: var(--surface);
}

.project-card img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0rem;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.project-tech span {
    background: #f3f4f6;
    color: #4b5563;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.project-tech span:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.project-tech span i {
    font-size: 1rem;
    color: var(--primary);
}

.project-links {
    margin-bottom: 1.5rem;
}

.project-links a {
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.project-link {
    text-decoration: none;
    color: var(--text-muted, #6c757d);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    border: none;
}

.project-link:hover {
    text-decoration: none;
    color: var(--primary-color, #007bff);
}

.project-link i {
    font-size: 1rem;
}

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

.social-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

section {
    margin-bottom: 3rem;
}

/* Base Styles */
:root {
    /* Modern minimalist theme */
    --background: #ffffff;
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --surface: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --gradient-subtle: linear-gradient(to right, #2563eb, #4f46e5);
    --gradient-surface: linear-gradient(120deg, #fafafa 0%, #ffffff 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    background: var(--background);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(120deg, 
            rgba(37, 99, 235, 0.08) 0%,
            rgba(255, 255, 255, 0) 20%,
            rgba(96, 165, 250, 0.05) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(37, 99, 235, 0.08) 80%
        ),
        linear-gradient(60deg,
            rgba(96, 165, 250, 0.05) 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(37, 99, 235, 0.08) 70%
        );
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(255, 255, 255, 0.8) 45%,
            transparent 65%
        );
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
    background: linear-gradient(
        135deg,
        #0f172a 0%,
        #1e1b4b 50%,
        #312e81 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(79, 70, 229, 0.15) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.8;
}

.profile-image {
    width: 220px;  /* Reduced from 280px */
    height: 220px;  /* Reduced from 280px */
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;  /* Reduced from 2.5rem */
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: translateY(-5px);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;  /* Reduced from 0.75rem */
}

.hero-content .highlight {
    background: linear-gradient(
        90deg,
        #818cf8 0%,
        #c084fc 50%,
        #f472b6 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.hero-headline {
    color: #60a5fa;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
    font-weight: 500;
}

/* Style for bullet points in hero headline */
.hero-headline span {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.5rem;
}

.hero-headline i {
    font-size: 0.6em;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    top: -2px;
}

/* Lead text styles */
.hero-content .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

.about-content .lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-content .lead:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-content .lead {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .about-content .lead {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Add spacing control for CTA buttons */
.cta-buttons {
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-subtle);
    color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
    padding: 5rem 0;
    background: var(--surface);
}

.section:nth-child(even) {
    background: var(--background);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-subtle);
    border-radius: 3px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-stack {
    margin-top: 4rem;
    text-align: center;
}

.tech-stack h3 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    position: relative;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.75rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.tech-item i {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: currentColor;
    transition: transform 0.3s ease;
}

/* Brand-specific colors */
.tech-item[title="Laravel"] i {
    color: #FF2D20;
}

.tech-item[title="Python"] i {
    color: #3776AB;
}

.tech-item[title="React"] i {
    color: #61DAFB;
}

.tech-item[title="Flutter"] i {
    color: #54C5F8;
    background: linear-gradient(45deg, #54C5F8 0%, #0389C3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-item[title="Node.js"] i {
    color: #339933;
}

.tech-item[title="JavaScript"] i {
    color: #F7DF1E;
}

.tech-item[title="Docker"] i {
    color: #2496ED;
}

.tech-item[title="Redis"] i {
    color: #DC382D;
}

.tech-item[title="MySQL"] i {
    color: #4479A1;
    transform: rotate(-10deg);
}

.tech-item[title="MySQL"]:hover i {
    transform: rotate(-10deg) translateY(-2px);
}

.tech-item[title="Vue.js"] i {
    color: #4FC08D;
}

.tech-item[title="PHP"] i {
    color: #777BB4;
}

.tech-item[title="React Native"] i {
    color: #61DAFB;
}

.tech-item[title="TypeScript"] i {
    color: #3178C6;
}

.tech-item[title="Next.js"] i {
    color: #000000;
}

.tech-item[title="MongoDB"] i {
    color: #47A248;
}

.tech-item[title="FastAPI"] i {
    color: #009688;
}

.tech-item[title="Flask"] i {
    color: #000000;
}

.tech-item[title="Firebase"] i {
    color: #FFCA28;
}

.tech-item[title="Google Cloud"] i {
    color: #4285F4;
}

.tech-item[title="Nexmo"] i {
    color: #FF8E00;
}

.tech-item[title="Pusher"] i {
    color: #300D4F;
}

.tech-item[title="Git"] i {
    color: #F05032;
}

.tech-item[title="Jira"] i {
    color: #0052CC;
}

.tech-item[title="AWS"] i {
    color: #FF9900;
}

.tech-item[title="Tailwind"] i {
    color: #06B6D4;
}

.tech-item[title="Bootstrap"] i {
    color: #7952B3;
}

.tech-item[title="Twilio"] i {
    color: #F22F46;
}

.tech-item[title="MSSQL"] i {
    color: #CC2927;
}

.tech-item[title="Stripe"] i {
    color: #635BFF;
}

.tech-item[title="Supabase"] i {
    color: #3ECF8E;
}

.tech-item[title="PostgreSQL"] i {
    color: #336791;
}

.tech-item:hover i {
    transform: translateY(-2px);
}

.tech-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-subtle);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0.5rem 0;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.02);
}

.project-images-stack {
    position: relative;
    width: 100%;
    height: 320px;
    margin-bottom: 2rem;
    /* padding: 1rem; */
}

.project-images-stack .stack-image {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.project-images-stack .dashboard {
    width: 90%;
    height: 200px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.project-images-stack .mobile {
    width: 120px;
    height: 220px;
    bottom: 0;
    right: 10%;
    z-index: 3;
    border-radius: 16px;
}

.project-images-stack .orders {
    width: 180px;
    height: 140px;
    bottom: 30px;
    left: 10%;
    z-index: 2;
}

.project-card:hover .stack-image.dashboard {
    transform: translateX(-50%) translateY(-8px);
}

.project-card:hover .stack-image.mobile {
    transform: translateX(-12px);
}

.project-card:hover .stack-image.orders {
    transform: translateY(8px);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .project-card {
        margin: 1rem 0;
    }

    .project-images-stack {
        height: 280px;
        /* padding: 0.5rem; */
    }

    .project-images-stack .dashboard {
        height: 160px;
    }

    .project-images-stack .mobile {
        width: 90px;
        height: 180px;
    }

    .project-images-stack .orders {
        width: 140px;
        height: 110px;
        bottom: 20px;
    }
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.blog-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: transparent;
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-method {
    background: transparent;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.contact-method:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    background: var(--surface);
}

.contact-method i {
    color: var(--primary);
    font-size: 1.25rem;
}

.contact-method span {
    color: var(--text-secondary);
}

.contact-method:hover span {
    color: var(--primary);
}

.profile-link {
    display: inline-block;
    cursor: pointer;
}

.profile-link:focus {
    outline: none;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* .hero {
        padding: 2rem 1rem;
    } */

    .profile-image {
        width: 220px;
        height: 220px;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-headline {
        font-size: 1.125rem;
    }
    
    .lead {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

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

    .stat-card h3 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 0.5rem;
        margin-top: 2rem;
    }

    .btn {
        width: 100%;
        max-width: 180px;
        padding: 0.625rem 1.5rem;
    }

    .tech-icons {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 1rem;
    }

    .tech-item {
        padding: 1.25rem 1rem;
    }

    .tech-item i {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .tech-item span {
        font-size: 0.9rem;
    }

    .container {
        padding: 0;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        padding: 0 1.5rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tech-categories {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tech-category {
        width: 100%;
        box-sizing: border-box;
    }

    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-methods {
        padding: 0 0.5rem;
        width: 100%;
    }

    .contact-method {
        margin: 0 0.5rem;
    }

    .tech-categories {
        gap: 1rem;
        padding: 0;
        margin: 0;
        width: 100vw;
        overflow-x: hidden;
    }
    
    .tech-category {
        padding: 1rem 0.75rem;
        width: 100%;
    }

    .tech-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .tech-item {
        padding: 0.75rem 0.25rem;
        width: 100%;
    }

    .about-content .lead {
        font-size: 1rem;
        text-align: justify;
        padding: 0 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        margin: 2rem 0;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-card h3 {
        font-size: 1.75rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem; /* Adds padding for fixed headers if you have any */
}

/* Optional: Active section highlight */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

/* Optional: Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary) var(--scroll), transparent 0);
    z-index: 1000;
}

/* Featured Projects Section */
.featured-projects {
    padding: 4rem 0;
}

.featured-projects .section-title {
    margin-bottom: 3rem;
}

/* Modern Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--surface);
    color: var(--primary);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.scroll-to-top i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-wrapper {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .container {
        max-width: 100%;
        padding: 0 1rem;
        margin: 0 auto;
        overflow: hidden;
        box-sizing: border-box;
    }

    .tech-stack {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .tech-categories {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tech-category {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Update projects grid layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Force first 3 cards in first row, rest in second row */
.project-card:nth-child(n+4) {
    grid-column: auto;
}

/* Add spacing for second row */
.project-card:nth-child(4) {
    grid-column: 1;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .project-card:nth-child(n+4) {
        grid-column: auto;
    }
}

/* Override any section:nth-child backgrounds */
section:nth-child(even) {
    background: transparent;
}

.hero-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;  /* Reduced from 2rem */
}

.hero-social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.hero-social-links a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.name-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.name-link:hover {
    opacity: 0.8;
}

.tech-categories {
    display: grid;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.tech-category {
    text-align: left;
    padding: 1.5rem 2rem;
}

.tech-category h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    padding-left: 1rem;
}

.tech-category h4::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: var(--gradient-subtle);
    border-radius: 2px;
}

.tech-icons {
    text-align: center;
}

@media (max-width: 768px) {
    .tech-categories {
        gap: 1rem;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    .tech-category {
        padding: 1rem;
    }

    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0;
        margin: 0;
    }
    
    .tech-item {
        padding: 0.75rem 0.25rem;
    }
}

.site-footer {
    background: var(--surface);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.site-footer.dark {
    background: #0f172a;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.site-footer.dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.3) 50%,
        transparent 100%
    );
}

.site-footer.dark .copyright {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer.dark .footer-social a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer.dark .footer-social a:hover {
    color: var(--primary-light);
}

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

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.tailwind-icon {
    width: 3rem;
    height: 3rem;
    color: #06B6D4;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 0.5rem rgba(6, 182, 212, 0.2));
}

.tech-item[title="Tailwind"]:hover .tailwind-icon {
    transform: translateY(-2px);
    color: #0891B2;
}

.linode-icon {
    width: 3rem;
    height: 3rem;
    color: #00B4E4;  /* Akamai Cloud blue */
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.tech-item[title="Linode"]:hover .linode-icon {
    transform: translateY(-2px);
    color: #0077B5;  /* Darker blue on hover */
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright {
        order: 2;
    }
    
    .footer-social {
        order: 1;
        margin-bottom: 1rem;
    }
}

.about-photos {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.photo-stack {
    position: relative;
    width: 600px;
    height: 400px;
}

.stacked-photo {
    position: absolute;
    width: 380px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.photo1 {
    top: 0;
    right: 0;
    transform: rotate(4deg);
    z-index: 3;
}

.photo2 {
    top: 40px;
    left: 60px;
    transform: rotate(-3deg);
    z-index: 2;
}

.photo3 {
    bottom: 20px;
    right: 100px;
    transform: rotate(2deg);
    z-index: 1;
}

.photo-stack:hover .photo1 {
    transform: rotate(6deg) translateY(-15px);
}

.photo-stack:hover .photo2 {
    transform: rotate(-5deg) translate(-10px, -5px);
}

.photo-stack:hover .photo3 {
    transform: rotate(3deg) translate(5px, -10px);
}

@media (max-width: 768px) {
    .photo-stack {
        width: 100%;
        height: 300px;
        max-width: 400px;
    }

    .stacked-photo {
        width: 280px;
        height: 200px;
    }

    .photo2 {
        left: 20px;
    }

    .photo3 {
        right: 40px;
    }
}

.tech-item[title="Ruby"] i {
    color: #CC342D;
}

.tech-item[title="Ruby on Rails"] i {
    color: #CC0000;
}

.rails-icon {
    width: 3rem;
    height: 3rem;
    color: #CC0000;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.tech-item[title="Ruby on Rails"]:hover .rails-icon {
    transform: translateY(-2px);
    color: #A30000;
}




