* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: white;
    text-decoration-color: white;
}

body {
    font-family: 'Verdana';
    background: #0a0a0a;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.grid-background {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 110%;
    height: 110%;
    opacity: 0.2;
    z-index: 1;
    background-image: 
        linear-gradient(rgba(26, 211, 66, 0.678) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 211, 66, 0.678) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 10s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
}

.back-button {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #b0b0b0;
}

.portfolio-banner {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-left: 3px solid rgba(26, 211, 66, 0.678);
    padding-left: 1rem;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.project-header {
    padding: 3rem 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.project-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    font-weight: 300;
}

.project-content {
    padding: 3rem;
    padding-top: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-section {
    margin-bottom: 2rem;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-text {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.section-text h2 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    border-left: 3px solid rgba(26, 211, 66, 0.678);
    padding-left: 1rem;
}

.section-text h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.section-text p {
    margin-bottom: 1.5rem;
}

.section-text b {
    font-weight: 600;
    color: #ffffff;
}

/* Image Layouts */
.image-section {
    margin: 3rem 0;
}

/* Media Sections (Video & PDF) */
.media-section {
    margin: 3rem 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-container {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.single-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.image-grid.two-vertical {
    grid-template-columns: 1fr 1fr;
}

.image-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.smush {
    height: 200px !important;
}

.text-image-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
    margin: 3rem 0;
}

.text-image-section .section-text {
    margin-bottom: 0;
}

.text-image-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-caption {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    font-style: italic;
    margin-top: 0;
}

/* Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.project-tag {
    background: rgba(37, 99, 235, 0.2);
    color: #87ceeb;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

#bhexcel{
    height: 150px;
    object-fit:scale-down;
}

#wjinside{
    height: 300px;
}

#internal{
    margin: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .portfolio-banner {
        font-size: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .project-content {
        padding: 2rem 1.5rem;
    }

    .project-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .image-grid.two-vertical {
        grid-template-columns: 1fr;
    }

    .image-grid img {
        height: 250px;
    }

    .text-image-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .text-image-section img {
        height: 250px;
    }

    .pdf-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 1.8rem;
    }

    .project-subtitle {
        font-size: 0.9rem;
    }

    .project-content {
        padding: 1.5rem 1rem;
    }

    .project-header {
        padding: 1.5rem 1rem 1rem;
    }

    .image-grid img {
        height: 200px;
    }

    .text-image-section img {
        height: 200px;
    }

    .pdf-container {
        height: 300px;
    }
}