html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
    font-family: "Source Sans 3", sans-serif;
    color: #fff;
    overflow-x: hidden;
}

.container {
    background-color: rgb(24, 24, 27);
    width: 1216px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

header,
footer {
    text-align: center;
    background-color: transparent;
    /* removed background */
}

.intro {
    grid-column: span 8;
    padding-right: 1rem;
    text-align: left;
}

.intro img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: block;
}

.intro p {
    font-size: 1.4rem;
    font-weight: 300;
    color: #fff;
    margin: 0;
    line-height: 1.6;
}

.intro h1 {
    font-size: 43px;
    font-weight: bold;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

main {
    flex: 1;
    padding-left: 6rem;
    padding-top: 2rem;
}

main p {
    color: #ccc;
}

h1,
h2 {
    margin: 0.5rem 0;
}

p {
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Creates 12 columns */
    gap: 1rem;
    /* Space between columns */
}

.left-column {
    grid-column: span 8;
    /* Takes up 8 columns */
    padding-right: 1rem;
    /* Adjusts padding */
}

.right-column {
    grid-column: span 4;
    /* Takes up 4 columns */
}

.social-icons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.15);
}

.icon {
    width: 24px;
    height: 24px;
    fill: #999;
    transition: fill 0.2s ease;
}

.social-icons a:hover .icon {
    fill: #fff;
}

.image-row {
    display: flex;
    justify-content: center;
    /* Center the images as a group */
    align-items: center;
    gap: 2rem;
    /* Spacing between images */
    margin: 3rem 0 2rem 0;
    padding: 0;
    overflow: visible;
    flex-wrap: nowrap;
    position: relative;
}

.image-row img {
    flex: 0 0 auto;
    /* Prevent shrinking */
    width: 298.992px;
    height: 329.856px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

/* Slight tilt classes */
.tilt-left {
    transform: rotate(-2.5deg);
}

.tilt-right {
    transform: rotate(2.5deg);
}

footer {
    color: #ccc;
    padding: 2rem 4rem;
    margin-top: 10px;
    text-align: left;
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle line above the footer */
}

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

footer p {
    margin: 0;
}

footer nav {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #facc15;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.05);
    width: 100%;
    height: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 0;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 129px;
    height: 100%;
    justify-content: center;
}

.nav-icon {
    width: 28px;
    height: 28px;
    color: #ccc;
    transition: color 0.2s ease;
}


.nav-links li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 129px;
    height: 100%;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.divider {
    width: 1px;
    background-color: #000;
    height: 100%;
}

.dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 128px;
    background-color: rgb(36, 36, 39);
    padding: 0;
    text-align: center;
    width: 129px;
    z-index: 10;
    padding-top: 0;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    color: #888;
    height: 100px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: 12px;
    margin: 0;
}

.dropdown-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.25rem;
    transition: fill 0.3s ease;
}

.navbar-icon {
    width: 40px;
    height: 40px;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.parsetree-icon {
    width: 56px;
    height: 56px;
}

.icon-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    /* or try 0.5rem for more space */
    color: #999;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.7rem;
}


.navbar-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 129px;
    height: 100%;
    transition: background-color 0.2s ease;
}

.navbar-tile:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.navbar-tile:hover .navbar-icon-stroke {
    stroke: #facc15;
}

.navbar-tile:hover .navbar-icon-fill {
    fill: #facc15;
}

.nav-item:hover .dropdown {
    display: flex;
    border-top: 1px solid #000;
}

.nav-item:hover .dropdown-item {
    padding: 0.75rem 0;
}

.nav-item .dropdown-item {
    border-bottom: 1px solid #000;
}

.content-section {
    display: flex;
    gap: 2rem;
    margin-top: 7rem;
}

.blog-snippet {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.article-date {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.2rem;
    margin: 0.25rem 0;
    color: #f4f4f4;
    font-weight: 400;
}

.article-excerpt {
    font-size: 0.95rem;
    font-weight: 300;
    color: #ccc;
}

.read-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #facc15;
    text-decoration: none;
    font-size: 0.9rem;
}

.read-link:hover {
    text-decoration: underline;
}

.blog-page {
    color: #f1f1f1;
    padding: 3rem 1rem;
}

.blog-container {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-content {
    flex: 1;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffcc00;
}

.blog-description {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.75rem;
}

.read-article {
    font-size: 0.9rem;
    color: #ffcc00;
    text-decoration: none;
}

.read-article:hover {
    opacity: 0.75;
}

.blog-page {
    max-width: 900px;
    margin-top: 2rem;
    font-size: 18px;
}

.blog-entry {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0 1.5rem 1rem;
    transition: background-color 0.25s ease, transform 0.25s ease;
    border-radius: 8px;
}

.blog-entry:hover {
    background-color: #202023;
}

.blog-entry-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.25s ease, transform 0.25s ease;
    border-radius: 8px;
}

.blog-entry-link:hover {
    background-color: #202023;
}

.blog-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
    padding: 20px 0 0 10px;
}

.blog-article-link:hover {
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.05);
    background-color: #222;
}

.email-subscription-box {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #27272c;
    margin-top: 2rem;
    margin-left: 2rem;
}

.subscription-title {
    margin-top: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}

.subscription-text {
    font-size: 0.95rem;
    color: #aaa;
    max-width: 400px;
    font-weight: 300;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.subscription-input {
    padding: 0.75rem;
    width: 270px;
    height: 15px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #2a2a2a;
    color: #fff;
    font-family: "Source Sans 3", sans-serif;
    margin-right: 1rem;
}

.subscription-input:focus {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
    outline: none;
}

.subscription-button {
    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;
    height: 35px;
    width: 90px;
    background-color: #eab300;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscription-button:hover {
    background-color: #facc15;
}


.work-svg {
    width: 20px;
    height: 20px;
    color: #facc15;
}

.work-heading {
    margin-top: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}

.work-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.work-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.work-icon {
    flex-shrink: 0;
    margin-right: 0.2rem;
    color: #00bba7;
    width: 28px;
    height: 28px;
}

.work-title {
    flex: 1;
    color: #eee;
    font-size: 0.95rem;
}

.work-period {
    color: #999;
    font-size: 0.9rem;
    white-space: nowrap;
    font-weight: 300;
}

.yellow-node {
    fill: rgb(251, 204, 20);
    stroke: rgb(35, 59, 62);
    transition: fill 0.3s ease;
}


.navbar-tile:hover .parsetree-icon .yellow-node{
    fill: rgb(20 85 71);
}


.projects-section {
    color: #f1f1f1;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffcc00;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.project-card {
    margin-top: 50px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    align-items: flex-start;
    transition: transform 0.2s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.project-card:hover {
    background-color: #202023;
}

.project-icon svg {
    margin-bottom: 1rem;
    color: #ffcc00;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.project-desc {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #cccccc;
}

.project-link svg {
    fill: #ffcc00;
    transition: opacity 0.2s ease;
}

.project-link:hover svg {
    opacity: 0.7;
}

.project-link {
    color: #ffffff;
    /* Yellow */
    text-decoration: none;
    /* Removes underline */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-top: auto;
    transition: opacity 0.2s ease;
}

.project-link:hover {
    opacity: 0.7;
}

.team-philosophy {
    margin: 2rem auto;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #facc15;
    border-radius: 0.5rem;
    font-style: italic;
}

.team-philosophy blockquote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1rem;
}

.team-philosophy cite {
    display: block;
    text-align: right;
    color: #888;
    font-style: normal;
    font-size: 0.875rem;
}