/* --- Modern Design System (HSL) --- */
:root {
    /* Base Colors */
    --bg: 220 24% 7%;
    --card-bg: 220 23% 10%;
    --card-border: 220 14% 20%;
    --card-hover: 220 14% 25%;

    /* Brand Colors */
    --primary: 213 100% 67%;
    --primary-glow: 213 100% 67% / 0.15;
    --secondary: 265 100% 77%;
    --accent: 145 61% 49%;

    /* Text Colors */
    --text-main: 210 17% 82%;
    --text-dim: 210 10% 60%;
    --text-bright: 0 0% 100%;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Layout */
    --container-max: 1100px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: hsl(var(--bg));
    color: hsl(var(--text-main));
    font-family: var(--font-body);
    line-height: 1.625;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: hsl(var(--text-bright));
    line-height: 1.2;
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: hsl(var(--text-bright));
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Boxed Island Navbar --- */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 90vw;
    z-index: 1000;
    background-color: hsla(var(--bg) / 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid hsla(var(--card-border) / 0.8);
    border-radius: 100px;
    padding: 0.75rem 2rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
}

.logo span {
    color: hsl(var(--primary));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--text-dim));
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: hsl(var(--primary));
}

.nav-btn {
    padding: 0.45rem 1rem;
    background: hsla(var(--primary) / 0.1);
    border: 1px solid hsla(var(--primary) / 0.3);
    border-radius: 100px;
    color: hsl(var(--primary)) !important;
}

.nav-btn:hover {
    background: hsla(var(--primary) / 0.2);
    border-color: hsl(var(--primary));
    transform: translateY(-1px);
}

.nav-btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--bg)) !important;
    font-weight: 700;
}

.nav-btn-primary:hover {
    background: hsl(var(--primary));
    filter: brightness(1.1);
    box-shadow: 0 4px 12px hsla(var(--primary) / 0.4);
}

/* --- Section Grouping --- */
.section-group {
    padding-top: 0;
}

.work-bg {
    background: linear-gradient(to bottom, transparent, hsla(var(--primary) / 0.03), transparent);
}

/* --- Hero Section --- */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 0 2rem;
}

.hero-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-family: 'Inter', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid;
    background: transparent;
}

.tag-blue {
    color: hsl(var(--primary));
    border-color: hsla(var(--primary) / 0.3);
    background: hsla(var(--primary) / 0.05);
}

.tag-purple {
    color: hsl(var(--secondary));
    border-color: hsla(var(--secondary) / 0.3);
    background: hsla(var(--secondary) / 0.05);
}

.tag-green {
    color: hsl(var(--accent));
    border-color: hsla(var(--accent) / 0.3);
    background: hsla(var(--accent) / 0.05);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: hsl(var(--text-dim));
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 450;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Technical Expertise --- */
.expertise-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.expertise-card {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expertise-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: hsl(var(--heading));
    border-bottom: 1px solid hsla(var(--primary) / 0.2);
    padding-bottom: 0.75rem;
}

.btn-primary {
    background: #238636;
    color: white;
    box-shadow: 0 4px 14px 0 rgba(35, 134, 54, 0.39);
}

.btn-primary:hover {
    background: #2ea043;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(35, 134, 54, 0.23);
}

.btn-secondary {
    background: hsla(var(--card-border) / 0.3);
    border: 1px solid hsla(var(--card-border) / 1);
    color: hsl(var(--text-bright));
}

.btn-secondary:hover {
    background: hsla(var(--card-border) / 0.8);
    transform: translateY(-2px);
    border-color: hsl(var(--text-dim));
}

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

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-photo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: -2rem;
    /* Pulls tech stack up slightly to overlap */
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--body-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-photo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.spin-slow {
    transform-origin: center;
    animation: spin 30s linear infinite;
}

.spin-slow-reverse {
    transform-origin: center;
    animation: spin-reverse 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.hero-stat-img {
    border-radius: var(--radius-md);
    border: 1px solid hsla(var(--card-border) / 1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 0 20px hsla(var(--primary) / 0.1);
    background-color: hsl(var(--card-bg));
    min-height: 195px;
    width: 100%;
}


/* --- Watch Button --- */
.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.55rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: hsl(var(--primary));
    background: hsla(var(--primary) / 0.08);
    border: 1px solid hsla(var(--primary) / 0.35);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.watch-btn:hover {
    background: hsla(var(--primary) / 0.18);
    border-color: hsl(var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 4px 16px hsla(var(--primary) / 0.3);
}

.watch-btn svg {
    flex-shrink: 0;
}

/* --- Video Lightbox --- */
.video-lightbox {
    position: fixed;
    inset: 0;
    /* cover full viewport */
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, background 0.45s ease;
}

.video-lightbox.active {
    opacity: 1;
    pointer-events: all;
    background: rgba(0, 0, 0, 0.92);
}

.video-lightbox-embed {
    position: relative;
    width: min(90vw, 1200px);
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 60px hsla(var(--primary) / 0.15);
    transform: scale(0.95);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-lightbox.active .video-lightbox-embed {
    transform: scale(1);
}

.video-lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid hsla(var(--text-bright) / 0.4);
    background: hsla(var(--bg) / 0.9);
    backdrop-filter: blur(8px);
    color: hsl(var(--text-bright));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    pointer-events: all;
    opacity: 0;
}

.video-lightbox.active .video-lightbox-close {
    opacity: 1;
}

.video-lightbox-close:hover {
    background: hsla(var(--primary) / 0.2);
    border-color: hsl(var(--primary));
    transform: scale(1.1) rotate(90deg);
}

.video-lightbox-close svg {
    width: 16px;
    height: 16px;
}



/* --- Divider --- */
.waves-divider {
    margin: 1rem 0;
    overflow: hidden;
    width: 100%;
}

.waves-divider img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- Section Styling --- */
.section {
    padding: 2.5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    border-bottom: 1px solid hsla(var(--card-border) / 0.5);
    padding-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.view-all {
    font-weight: 600;
    color: hsl(var(--primary));
    font-size: 0.9375rem;
}

.view-all:hover {
    gap: 0.5rem;
    text-decoration: underline;
}

/* --- Grids & Cards --- */
.grid {
    display: grid;
    gap: 1.5rem;
}

.blog-grid,
.project-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card {
    background-color: hsl(var(--card-bg));
    border: 1px solid hsla(var(--card-border) / 0.8);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    border-color: hsla(var(--primary) / 0.5);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
    background-color: hsla(var(--card-hover) / 0.5);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 600;
    color: hsl(var(--text-dim));
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category {
    color: hsl(var(--primary));
}

.card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    color: hsl(var(--text-dim));
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    font-size: 0.875rem;
    font-weight: 700;
    color: hsl(var(--primary));
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

/* --- Tech Stack --- */
.tech-center {
    text-align: center;
    padding: 8rem 0;
}

.tech-center h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.125rem;
    color: hsl(var(--text-dim));
    margin-bottom: 4rem;
}

.skills-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.skills-showcase img {
    height: 4.5rem;
    width: auto;
    margin: 0.5rem;
    filter: drop-shadow(0 0 15px hsla(var(--primary) / 0.15));
    transition: transform 0.3s ease;
}

.skills-showcase img:hover {
    transform: scale(1.1);
}

/* --- Boxed Footer --- */
footer {
    padding: 2rem 0 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 3rem;
    margin: 0 auto;
    max-width: 800px;
    background-color: hsla(var(--card-bg) / 0.5);
    border: 1px solid hsla(var(--card-border) / 0.8);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.footer-content p {
    font-size: 0.875rem;
    color: hsl(var(--text-dim));
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: hsl(var(--text-dim));
    font-weight: 500;
}

.footer-links a:hover {
    color: hsl(var(--primary));
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in .hero-content>* {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-in .hero-content>*:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-in .hero-content>*:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-in .hero-content>*:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-in .hero-content>*:nth-child(4) {
    animation-delay: 0.4s;
}

.animate-in .hero-content>*:nth-child(5) {
    animation-delay: 0.5s;
}

.animate-in .hero-visual {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* --- Timeline Experience --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: hsla(var(--card-border) / 0.8);
    z-index: 0;
}

.timeline-item {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 17px;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: hsl(var(--bg));
    border: 2px solid hsl(var(--primary));
    z-index: 2;
    box-shadow: 0 0 10px hsla(var(--primary) / 0.5);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: hsl(var(--primary));
    box-shadow: 0 0 15px hsla(var(--primary) / 0.8);
    transform: scale(1.2);
}

.timeline-content.card {
    margin: 0;
    width: 100%;
}

.timeline-asset-container {
    position: absolute;
    left: -180px;
    /* Position left to clear the line */
    top: 0px;
    width: 140px;
    display: flex;
    justify-content: flex-end;
    /* Align right side near the line */
}

.timeline-asset {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    /* Prevent cropping of logos */
    border: 1px solid hsla(var(--card-border) / 1);
    background-color: hsla(var(--bg) / 0.5);
    padding: 0.75rem;
}

.timeline-content ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
    list-style: none;
}

/* --- Timeline Logo Animations --- */
.anim-logo {
    animation: float-pulse 4s ease-in-out infinite alternate;
}

@keyframes float-pulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    100% {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4), 0 0 20px hsla(var(--primary) / 0.3);
    }
}

.anim-tech {
    animation: broken-lamp 4s infinite;
}

@keyframes broken-lamp {

    0%,
    9%,
    11%,
    19%,
    21%,
    69%,
    71%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 15px hsla(var(--primary) / 0.8)) brightness(1.2);
    }

    10%,
    20%,
    70% {
        opacity: 0.4;
        filter: drop-shadow(0 0 2px hsla(var(--primary) / 0.2)) brightness(0.5);
    }

    80% {
        opacity: 0.8;
        filter: drop-shadow(0 0 8px hsla(var(--primary) / 0.5)) brightness(0.9);
    }

    81% {
        opacity: 0.2;
        filter: none;
    }

    82%,
    85% {
        opacity: 1;
        filter: drop-shadow(0 0 25px hsla(var(--primary) / 1)) brightness(1.5);
    }

    86% {
        opacity: 0.3;
        filter: none;
    }
}

.timeline-content ul li {
    position: relative;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-dim));
    font-size: 0.9375rem;
}

.timeline-content ul li::before {
    content: "▹";
    position: absolute;
    left: -1.25rem;
    color: hsl(var(--primary));
}

/* --- Timeline Banner Integration --- */
.timeline-banner {
    width: 100%;
    margin-top: 1.5rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    border: 1px solid hsla(var(--card-border) / 0.8);
    background-color: hsl(var(--card-bg));
}

.parallax-banner {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 200px;
    /* Constrain it so it acts like a wide banner */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content.card:hover .parallax-banner {
    transform: scale(1.05);
    /* Slight scale up when the user hovers over the card */
}

.cert-grid,
.lang-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* --- Featured Certification --- */
.cert-card.cert-featured {
    grid-column: 1 / -1;
    /* Span full width */
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
}

.cert-image-container {
    flex-shrink: 0;
    width: 280px;
    /* Increased to better show the certificate proportion */
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid hsla(var(--card-border) / 0.5);
    background-color: hsl(var(--card-bg));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    /* Add breathing room around the cert */
}

.cert-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Prevents cropping the edges of the certificate */
    transition: transform 0.3s ease;
}

.cert-card.cert-featured:hover .cert-image {
    transform: scale(1.02);
    /* More subtle scale for a full document */
}

.cert-body {
    flex-grow: 1;
}

.cert-card h3,
.lang-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.education-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.education-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.education-card p {
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4rem 0;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3.25rem;
    }

    .hero-tags,
    .hero-actions,
    .hero-social {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .navbar {
        width: 95vw;
        padding: 0.5rem 1rem;
    }

    .nav-content {
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        white-space: nowrap;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .footer-contact h4 {
        margin-bottom: 1rem;
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-dot {
        left: 5px;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-content.card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .timeline-asset-container {
        position: static;
        width: 100%;
        margin-bottom: 1rem;
        justify-content: flex-start;
    }

    .timeline-content ul {
        text-align: left;
    }

    /* Mobile overrides for featured cert */
    .cert-card.cert-featured {
        flex-direction: column;
        align-items: flex-start;
    }

    .cert-image-container {
        width: 100%;
        max-height: 250px;
    }
}

/* ==========================================================================
   PRINT STYLESHEET — Used by "Resume PDF" button (window.print)
   ========================================================================== */
@media print {

    * {
        animation: none !important;
        transition: none !important;
    }

    body {
        background: white !important;
        color: #111 !important;
        font-size: 11pt;
    }

    /* Hide non-CV elements */
    .navbar,
    .footer,
    footer,
    .hero-visual,
    .hero-actions,
    .hero-social,
    .hero-tags,
    #work-group,
    .waves-divider,
    .nav-btn-primary,
    .timeline-asset-container,
    .timeline-banner,
    .section-header .view-all {
        display: none !important;
    }

    /* Reset spacing */
    .section {
        padding: 1rem 0 !important;
    }

    .section-group {
        padding-top: 0 !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }

    .hero {
        display: block !important;
        padding: 1rem 0 !important;
    }

    .hero h1 {
        font-size: 20pt !important;
        color: #111 !important;
    }

    .gradient-text {
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        color: #111 !important;
    }

    .hero-desc {
        color: #333 !important;
        max-width: 100% !important;
    }

    .hero-desc strong {
        color: #111 !important;
    }

    /* Cards */
    .card {
        border: 1px solid #ddd !important;
        background: white !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .card h3,
    .section-header h2 {
        color: #111 !important;
    }

    .card p,
    .card li {
        color: #333 !important;
    }

    .tag {
        border-color: #ccc !important;
        color: #333 !important;
        background: #f5f5f5 !important;
    }

    /* Timeline */
    .timeline::before {
        background: #ccc !important;
    }

    .timeline-dot {
        background: #666 !important;
        border-color: white !important;
    }

    a {
        color: #111 !important;
        text-decoration: underline;
    }
}