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

html {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    display: flex;
    align-items: center;
}

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

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

.nav-links a:hover {
    color: #2563eb;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(226, 232, 240, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.profile-image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 0;
    margin: 0;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Projects Section */
.projects {
    padding: 80px 0 40px;
    background: #ffffff;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.section-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Projects Grid Section */
.projects-grid-section {
    padding: 80px 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.projects-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    flex-wrap: wrap;
}

.project-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 350px;
    max-width: 100%;
    margin-bottom: 2rem;
}

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

.expand-indicator {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.expand-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.expand-icon::before,
.expand-icon::after {
    content: '';
    position: absolute;
    background: #2563eb;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.expand-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
    left: 0;
}

.expand-icon::after {
    width: 2px;
    height: 20px;
    top: 0;
    left: 9px;
}

.project-card:hover .expand-icon::before,
.project-card:hover .expand-icon::after {
    background: #1d4ed8;
}

.project-card.expanded .expand-icon::before {
    transform: rotate(45deg);
}

.project-card.expanded .expand-icon::after {
    transform: rotate(45deg);
}

/* Project Details Dropdown Section */
.project-details-section {
    background: #f8fafc;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid transparent;
}

.project-details-section.active {
    max-height: none;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
}

.project-details-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Article-style project content */
.project-article {
    line-height: 1.7;
    color: #374151;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    position: relative;
}

.article-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

.project-article h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 3rem 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-article h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    margin: 2rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-article p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.project-article ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.project-article li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
}

.project-article li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.project-article strong {
    color: #1e293b;
    font-weight: 600;
}

.article-image {
    margin: 2rem auto;
    text-align: center;
    padding: 0;
    display: block;
    width: fit-content;
}

.article-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

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

/* Protein Pilot specific image sizing - 50% larger */
.proteinpilot-image img {
    max-height: 750px !important;
}

/* Trial Forge specific image sizing - 50% larger */
.trialforge-image img {
    max-height: 750px !important;
}

/* Horizontal image layout for project descriptions */
.article-images-horizontal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.article-images-horizontal .article-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin: 0;
}

.article-images-horizontal .article-image img {
    max-height: 400px;
    width: 100%;
    height: auto;
}

/* User Flow Container */
.user-flow-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.flow-step img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.flow-step img:hover {
    transform: scale(1.02);
}

.flow-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .project-details-section.active .project-details-content {
        opacity: 1;
        transform: translateY(0);
    }

    .article-title {
        font-size: 2rem;
    }

    .project-article h3 {
        font-size: 1.5rem;
    }

    .project-article h4 {
        font-size: 1.125rem;
    }

    .project-article p {
        font-size: 1rem;
    }

    .article-image img {
        max-height: 300px;
        width: auto;
        height: auto;
    }

.project-card.expanded {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

/* Testimonial Thought Bubble */
.testimonial-bubble {
    position: absolute;
    top: -20px;
    right: -20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    max-width: 200px;
}

.testimonial-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: #2563eb;
}

.testimonial-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 19px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #e2e8f0;
}

.testimonial-bubble:hover::after {
    border-top-color: #2563eb;
}

.testimonial-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-icon svg {
    width: 12px;
    height: 12px;
    fill: white;
}

.testimonial-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

/* Testimonial Modal */
.testimonial-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
}

.testimonial-modal.active {
    display: flex;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.testimonial-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonial-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.testimonial-header p {
    color: #64748b;
    font-size: 1rem;
}

.testimonial-image {
    text-align: center;
}

.testimonial-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.expanded-description {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.expanded-description h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    grid-column: 1 / -1;
    text-align: center;
    position: relative;
}

.expanded-description h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

.expanded-description p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.project-gallery {
    margin-top: 3rem;
    grid-column: 1 / -1;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.project-gallery h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card .project-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 0 1.5rem 0;
    background: #f8fafc;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.project-card .project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.project-card .project-description {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.project-card .tech-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.project-card .project-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.project-card .project-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #2563eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Project Slider */
.project-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.main-image-container {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: white;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    position: relative;
}

.main-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
    z-index: 1;
    pointer-events: none;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.thumbnail-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    position: relative;
}

.thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.08);
    border-color: #2563eb;
}

.thumbnail:hover::before {
    opacity: 1;
}

.thumbnail.active {
    border-color: #2563eb;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* Project Details Modal */
.project-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
}

.project-details-overlay.active {
    display: flex;
}

.project-details-modal {
    background: white;
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: #e2e8f0;
    color: #1e293b;
}


/* Additional Section */
.additional-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #ffffff;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden;
    justify-items: center;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #64748b;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
    font-weight: 600;
}

.contact-item a:hover {
    color: #1d4ed8;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

/* GitHub card specific positioning */
.contact-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

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

.content-placeholder {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-placeholder h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.content-placeholder p {
    color: #64748b;
    font-size: 1.125rem;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

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

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

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

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

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

    .hero-buttons {
        justify-content: center;
    }

    .profile-image-container {
        width: 250px;
        height: 250px;
    }

    .projects-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 10px;
    }

    .project-card {
        padding: 2rem;
        width: 100%;
        max-width: 350px;
    }

    .project-card .project-logo {
        width: 100px;
        height: 100px;
    }

    .project-card .project-title {
        font-size: 1.25rem;
    }

    .project-card .project-description {
        font-size: 0.9rem;
    }

    .project-card.expanded .project-expanded-content {
        padding: 2rem 1.5rem;
        max-height: 1000px;
    }

    .project-features {
        grid-template-columns: 1fr;
    }

    .expanded-description {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expanded-description h4 {
        font-size: 1.25rem;
    }

    .expanded-description p {
        font-size: 0.9rem;
    }

    .project-gallery {
        padding: 1.5rem;
    }

    .main-image-container {
        height: 350px;
        margin-bottom: 1.5rem;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
    }

    .thumbnail-container {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .project-section.reverse .project-content-left,
    .project-section.reverse .project-content-right {
        order: unset;
    }

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

    .project-logo {
        width: 240px;
        height: 240px;
        margin-bottom: 1rem;
    }

    .project-slider {
        max-width: 100%;
    }

    .main-image-container {
        max-width: 100%;
        max-height: 500px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
    }

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

    .contact-item {
        padding: 1.5rem;
        max-width: 100%;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    /* GitHub card on tablet - center in second row */
    .contact-item:nth-child(4) {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        max-width: 250px;
    }

    .user-flow-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .flow-step {
        min-width: unset;
        max-width: 100%;
        padding: 1.5rem;
    }

    .flow-step img {
        max-height: 250px;
    }

    .flow-step h4 {
        font-size: 1.125rem;
    }

    .article-images-horizontal {
        flex-direction: column;
        gap: 1rem;
    }

    .article-images-horizontal .article-image {
        min-width: unset;
        max-width: 100%;
    }

    .article-images-horizontal .article-image img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .project-details-content {
        padding: 2rem 1.5rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
    }

    .projects {
        padding: 60px 0;
    }

    .additional-section {
        padding: 60px 0;
    }

    .content-placeholder {
        padding: 2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .main-image-container {
        height: 300px;
    }

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

    .contact-item {
        padding: 1.25rem;
        max-width: 100%;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    /* GitHub card on mobile - normal flow */
    .contact-item:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        justify-self: stretch;
        max-width: 100%;
    }
}

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

.project-card {
    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; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
