@import url('https://fonts.googleapis.com/css2?family=Calibre:wght@400;500;600&family=SF+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --green: #64ffda;
    --green-tint: rgba(100, 255, 218, 0.1);
    --pink: #f57dff;
    --blue: #57cbff;
    
    --font-sans: 'Inter', 'Calibre', 'San Francisco', 'SF Pro Text', -apple-system, system-ui, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    
    --fz-xxs: 12px;
    --fz-xs: 13px;
    --fz-sm: 14px;
    --fz-md: 16px;
    --fz-lg: 18px;
    --fz-xl: 20px;
    --fz-xxl: 22px;
    --fz-heading: 32px;
    
    --border-radius: 4px;
    --nav-height: 100px;
    --nav-scroll-height: 70px;
    
    --tab-height: 42px;
    --tab-width: 120px;
    
    --easing: cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    
    --hamburger-width: 30px;
    
    --ham-before: top 0.1s ease-in 0.25s, opacity 0.1s ease-in;
    --ham-before-active: top 0.1s ease-out, opacity 0.1s ease-out 0.12s;
    --ham-after: bottom 0.1s ease-in 0.25s, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    --ham-after-active: bottom 0.1s ease-out, transform 0.22s cubic-bezier(0.215, 0.61, 0.355, 1) 0.12s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: var(--fz-xl);
    line-height: 1.3;
    background-color: var(--navy);
    color: var(--slate);
    overflow-x: hidden;
}

::selection {
    background-color: var(--lightest-navy);
    color: var(--lightest-slate);
}

section {
    margin: 0 auto;
    padding: 100px 0;
    max-width: 1000px;
}

.nav-wrapper {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    padding: 0 50px;
    width: auto;
    height: 100vh;
    display: flex !important;
    align-items: center;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    backface-visibility: visible;
}

#navbar {
    pointer-events: all;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    position: relative;
    z-index: 100000;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.nav-links li {
    margin: 0;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--green) !important;
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-link:hover {
    color: var(--green) !important;
    transform: translateX(-5px);
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green);
    transition: width 0.25s var(--easing);
}

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

.nav-number {
    color: var(--green);
    font-size: var(--fz-xxs);
    font-weight: 400;
}

.nav-divider {
    width: 1px;
    height: 60px;
    background-color: var(--slate);
    opacity: 0.3;
    margin: 10px 0;
}

.nav-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.nav-social li {
    margin: 0;
}

.social-link {
    color: var(--slate);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
}

.social-link:hover {
    color: var(--green);
    transform: translateY(-5px);
}

main {
    padding: 0 150px;
    counter-reset: section 0;
    position: relative;
    z-index: 1;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.hero-greeting {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
    font-weight: 400;
    margin: 0 0 30px 4px;
    position: relative;
}

.hero-greeting.typing::after {
    content: '|';
    color: var(--green);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-name {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 600;
    color: var(--lightest-slate);
    line-height: 1.1;
    margin: 0;
}

.hero-tagline {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 600;
    color: var(--slate);
    line-height: 1.1;
    margin-top: 10px;
}

.hero-description {
    margin: 20px 0 0 0;
    max-width: 540px;
    color: var(--slate);
    font-size: var(--fz-xl);
    line-height: 1.6;
}

.hero-description strong {
    color: var(--light-slate);
    font-weight: 600;
}

.cta-button {
    color: var(--green);
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.75rem;
    font-size: var(--fz-sm);
    font-family: var(--font-mono);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    margin-top: 50px;
}

.cta-button:hover {
    background-color: var(--green-tint);
    outline: none;
    box-shadow: 3px 3px 0 0 var(--green);
    transform: translate(-4px, -4px);
}

.content-section {
    padding: 100px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    position: relative;
    margin: 10px 0 40px;
    width: 100%;
    font-size: clamp(26px, 5vw, var(--fz-heading));
    font-weight: 600;
    color: var(--lightest-slate);
    white-space: nowrap;
}

.section-heading::before {
    position: relative;
    bottom: 4px;
    counter-increment: section 1;
    content: "0" counter(section) ".";
    margin-right: 10px;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: clamp(var(--fz-md), 3vw, var(--fz-xl));
    font-weight: 400;
}

.section-heading::after {
    content: "";
    display: block;
    position: relative;
    width: 300px;
    height: 1px;
    margin-left: 20px;
    background-color: var(--lightest-navy);
}

.section-number {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-md);
    font-weight: 400;
    margin-right: 10px;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--slate);
    font-size: var(--fz-lg);
    line-height: 1.6;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 200px));
    gap: 0 10px;
    padding: 0;
    margin: 20px 0 0 0;
    overflow: hidden;
    list-style: none;
}

.tech-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    color: var(--slate);
}

.tech-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: var(--fz-sm);
    line-height: 12px;
}

.about-image {
    position: relative;
    max-width: 300px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    background-color: transparent;
    box-shadow: 0 10px 30px -15px var(--navy);
    transition: var(--transition);
}

.image-wrapper::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    transition: var(--transition);
    top: 0;
    left: 0;
    background-color: transparent;
    mix-blend-mode: screen;
}

.image-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    top: 20px;
    left: 20px;
    z-index: -1;
    transition: var(--transition);
}

.image-wrapper:hover::after {
    border: 2px solid var(--green);
    top: 15px;
    left: 15px;
}

.image-wrapper img {
    position: relative;
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1);
    mix-blend-mode: normal;
    transition: var(--transition);
}

.image-wrapper:hover img {
    filter: grayscale(0%) contrast(1);
    mix-blend-mode: normal;
}

.certifications {
    margin-top: 60px;
}

.certifications-heading {
    display: flex;
    align-items: center;
    position: relative;
    margin: 10px 0 40px;
    width: 100%;
    font-size: clamp(26px, 5vw, var(--fz-heading));
    font-weight: 600;
    color: var(--lightest-slate);
    white-space: nowrap;
}

.certifications-heading::after {
    content: "";
    display: block;
    position: relative;
    width: 300px;
    height: 1px;
    margin-left: 20px;
    background-color: var(--lightest-navy);
}

.cert-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 40px 0;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.cert-carousel {
    display: flex;
    gap: 0px;
    animation: scroll-certificates 50s linear infinite;
    width: fit-content;
    align-items: center;
}

.cert-carousel:hover {
    animation-play-state: paused;
}

.cert-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 20px;
    transition: var(--transition);
    margin-right: -100px;
}

.cert-item:hover {
    transform: translateY(-5px) scale(1.05);
    z-index: 10;
}

.cert-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@keyframes scroll-certificates {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Responsive carousel */
@media (max-width: 768px) {
    .cert-item {
        width: 250px;
        height: 170px;
        margin-right: -80px;
    }
    
    .cert-carousel {
        gap: 0px;
    }
}

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

.skill-category {
    background-color: var(--light-navy);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(100, 255, 218, 0.3);
}

.skill-icon {
    color: var(--green);
    font-size: 40px;
    margin-bottom: 20px;
}

.skill-category h3 {
    color: var(--lightest-slate);
    font-size: var(--fz-xxl);
    margin-bottom: 15px;
}

.skill-category p {
    color: var(--slate);
    font-size: var(--fz-md);
    line-height: 1.6;
}

.experience-container {
    display: flex;
    margin-top: 40px;
}

.company-tabs {
    position: relative;
    z-index: 3;
    width: max-content;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.tab-button {
    text-decoration: none;
    text-decoration-skip-ink: auto;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    width: 100%;
    height: var(--tab-height);
    padding: 0 20px 2px;
    border-left: 2px solid var(--lightest-navy);
    background-color: transparent;
    color: var(--slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    text-align: left;
    white-space: nowrap;
    border: none;
    border-left: 2px solid var(--lightest-navy);
    cursor: pointer;
}

.tab-button:hover,
.tab-button:focus {
    background-color: var(--light-navy);
    color: var(--green);
    outline: none;
}

.tab-button.active {
    color: var(--green);
    border-left-color: var(--green);
}

.company-content {
    position: relative;
    width: 100%;
    margin-left: 20px;
    min-height: 340px;
}

.job-panel {
    width: 100%;
    height: auto;
    padding: 10px 5px;
    display: none;
}

.job-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

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

.job-panel h3 {
    margin-bottom: 2px;
    font-size: var(--fz-xxl);
    font-weight: 500;
    line-height: 1.3;
    color: var(--lightest-slate);
}

.company-link {
    color: var(--green);
}

.company-link a {
    color: var(--green);
    text-decoration: none;
    transition: var(--transition);
}

.company-link a:hover {
    text-decoration: underline;
}

.job-subtitle {
    color: var(--slate);
    font-size: var(--fz-md);
    font-style: italic;
    margin-bottom: 5px;
}

.job-date {
    margin-bottom: 25px;
    color: var(--light-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
}

.job-duties {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: var(--fz-lg);
}

.job-duties li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--slate);
    line-height: 1.5;
}

.job-duties li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--green);
}

.projects-grid {
    margin-top: 50px;
}

.project-card {
    position: relative;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    margin-bottom: 100px;
}

.project-card.featured:nth-of-type(2n + 1) .project-content {
    grid-column: 1 / 8;
    text-align: left;
}

.project-card.featured:nth-of-type(2n + 1) .project-image {
    grid-column: 6 / -1;
}

.project-card.featured:nth-of-type(2n) .project-content {
    grid-column: 6 / -1;
    text-align: right;
}

.project-card.featured:nth-of-type(2n) .project-image {
    grid-column: 1 / 8;
}

.project-content {
    position: relative;
    grid-area: 1 / 1 / -1 / 7;
    z-index: 2;
}

.project-overline {
    margin: 10px 0;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    font-weight: 400;
}

.project-title {
    color: var(--lightest-slate);
    font-size: clamp(24px, 5vw, 28px);
    margin: 0 0 20px;
}

.project-title a {
    color: var(--lightest-slate);
    text-decoration: none;
    transition: var(--transition);
}

.project-title a:hover {
    color: var(--green);
}

.project-description {
    box-shadow: 0 10px 30px -15px var(--navy);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    padding: 25px;
    border-radius: var(--border-radius);
    background-color: var(--light-navy);
    color: var(--light-slate);
    font-size: var(--fz-lg);
}

.project-description:hover {
    box-shadow: 0 20px 30px -15px rgba(100, 255, 218, 0.2);
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin: 25px 0 10px;
    padding: 0;
    list-style: none;
}

.project-card.featured:nth-of-type(2n) .project-tech-list {
    justify-content: flex-end;
}

.project-tech-list li {
    margin: 0 20px 5px 0;
    color: var(--light-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
    white-space: nowrap;
}

.project-card.featured:nth-of-type(2n) .project-tech-list li {
    margin: 0 0 5px 20px;
}

.project-links {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 10px;
    margin-left: -10px;
    color: var(--lightest-slate);
}

.project-card.featured:nth-of-type(2n) .project-links {
    justify-content: flex-end;
    margin-left: 0;
    margin-right: -10px;
}

.project-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    color: var(--lightest-slate);
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.project-links i {
    font-size: 20px;
}

.project-image {
    box-shadow: 0 10px 30px -15px var(--navy);
    transition: var(--transition);
    grid-area: 1 / 6 / -1 / -1;
    position: relative;
    z-index: 1;
}

.project-image a {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: var(--border-radius);
    vertical-align: middle;
    display: block;
    position: relative;
}

.project-image a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    top: 0;
    left: 0;
    z-index: 2;
    transition: var(--transition);
}

.project-image:hover a::after {
    border: 2px solid var(--green);
    top: -5px;
    left: -5px;
}

.project-image img {
    border-radius: var(--border-radius);
    filter: grayscale(100%) contrast(1);
    mix-blend-mode: normal;
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.project-image:hover img {
    filter: grayscale(0%) contrast(1);
    mix-blend-mode: normal;
}

.other-projects {
    margin-top: 80px;
}

.other-projects h3 {
    color: var(--lightest-slate);
    font-size: var(--fz-heading);
    text-align: center;
    margin-bottom: 50px;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.other-project-card {
    position: relative;
    cursor: default;
    transition: var(--transition);
    background-color: var(--light-navy);
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.other-project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 30px -15px rgba(100, 255, 218, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.project-header i {
    font-size: 40px;
}

.project-header .fa-folder {
    color: var(--green);
}

.project-header a {
    color: var(--light-slate);
    transition: var(--transition);
}

.project-header a:hover {
    color: var(--green);
}

.other-project-card h4 {
    margin: 0 0 10px;
    color: var(--lightest-slate);
    font-size: var(--fz-xxl);
}

.other-project-card h4 a {
    text-decoration: none;
    color: var(--lightest-slate);
    transition: var(--transition);
}

.other-project-card h4 a:hover {
    color: var(--green);
}

.other-project-card p {
    color: var(--slate);
    font-size: 17px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.publications {
    margin-top: 80px;
    padding: 40px;
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
}

.publications h3 {
    color: var(--lightest-slate);
    font-size: var(--fz-xxl);
    margin-bottom: 25px;
}

.publications-list {
    list-style: none;
    counter-reset: item;
    padding: 0;
}

.publications-list li {
    counter-increment: item;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    line-height: 1.6;
}

.publications-list li::before {
    content: "[" counter(item) "]";
    position: absolute;
    left: 0;
    color: var(--green);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
}

.publications-list a {
    color: var(--light-slate);
    text-decoration: none;
    transition: var(--transition);
}

.publications-list a:hover {
    color: var(--green);
    text-decoration: underline;
}

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

.contact-content p {
    margin-bottom: 20px;
    color: var(--slate);
    font-size: var(--fz-lg);
    line-height: 1.6;
}

.contact-subtitle {
    font-size: var(--fz-md);
    color: var(--light-slate);
}

#contact-form {
    margin-top: 40px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--light-slate);
    font-size: var(--fz-sm);
    font-family: var(--font-mono);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--light-navy);
    border: 1px solid var(--lightest-navy);
    border-radius: var(--border-radius);
    color: var(--lightest-slate);
    font-size: var(--fz-md);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-tint);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    color: var(--green);
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-size: var(--fz-sm);
    font-family: var(--font-mono);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
}

.submit-button:hover {
    background-color: var(--green-tint);
    box-shadow: 3px 3px 0 0 var(--green);
    transform: translate(-4px, -4px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.social-links a {
    color: var(--light-slate);
    font-size: 24px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--green);
    transform: translateY(-3px);
}

footer {
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: var(--light-slate);
    font-family: var(--font-mono);
    font-size: var(--fz-xs);
}

@media (max-width: 1080px) {
    main {
        padding: 0 100px;
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 25px;
        height: auto;
        top: 25px;
        align-items: flex-start;
        position: fixed !important;
        z-index: 99999 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }

    #navbar ul {
        flex-direction: row;
        gap: 20px;
    }

    .nav-link {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    main {
        padding: 0 50px;
    }

    .hero-section {
        padding-top: 100px;
    }

    .section-heading::after {
        width: 200px;
    }

    .about-content {
        display: block;
    }

    .about-image {
        margin: 50px auto 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .experience-container {
        flex-direction: column;
    }

    .company-tabs {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        padding-left: 0;
        margin-bottom: 30px;
    }

    .tab-button {
        border-left: 0;
        border-bottom: 2px solid var(--lightest-navy);
        min-width: 120px;
    }

    .tab-button.active {
        border-left-color: transparent;
        border-bottom-color: var(--green);
    }

    .company-content {
        margin-left: 0;
    }

    .project-card {
        box-shadow: 0 10px 30px -15px var(--navy);
        transition: var(--transition);
        background-color: var(--light-navy);
        padding: 2rem 1.5rem;
        border-radius: var(--border-radius);
    }

    .project-card:hover {
        box-shadow: 0 20px 30px -15px rgba(100, 255, 218, 0.2);
    }

    .project-content {
        grid-column: 1 / -1;
        padding: 0;
        z-index: 5;
    }

    .project-card.featured:nth-of-type(2n + 1) .project-content,
    .project-card.featured:nth-of-type(2n) .project-content {
        grid-column: 1 / -1;
        text-align: left;
    }

    .project-image {
        grid-column: 1 / -1;
        height: 100%;
        opacity: 0.25;
        z-index: 1;
    }

    .project-card.featured:nth-of-type(2n + 1) .project-image,
    .project-card.featured:nth-of-type(2n) .project-image {
        grid-column: 1 / -1;
    }

    .project-description {
        padding: 20px 0;
        background-color: transparent;
        box-shadow: none;
    }

    .project-tech-list {
        justify-content: flex-start;
    }

    .project-card.featured:nth-of-type(2n) .project-tech-list {
        justify-content: flex-start;
    }

    .project-tech-list li {
        margin: 0 10px 5px 0;
    }

    .project-card.featured:nth-of-type(2n) .project-tech-list li {
        margin: 0 10px 5px 0;
    }

    .project-links {
        justify-content: flex-start;
        margin-left: -10px;
    }

    .project-card.featured:nth-of-type(2n) .project-links {
        justify-content: flex-start;
        margin-left: -10px;
        margin-right: 0;
    }

    .other-projects-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.half {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 25px;
    }

    .nav-wrapper {
        padding: 0 15px;
        position: fixed !important;
        z-index: 99999 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }

    #navbar ul {
        gap: 10px;
    }

    .nav-link {
        padding: 5px;
        font-size: var(--fz-xxs);
    }

    .section-heading::after {
        display: none;
    }

    .hero-name,
    .hero-tagline {
        font-size: clamp(30px, 8vw, 60px);
    }

    .hero-description {
        font-size: var(--fz-md);
    }

    .company-tabs {
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .tab-button {
        min-width: 100px;
        padding: 0 15px;
    }
}
