/* Variables */
:root {
    /* Colors */
    --primary: #800020;
    /* Deep Burgundy */
    --primary-dark: #5e0017;
    --primary-light: #fce7ea;
    --secondary: #333333;
    /* Dark Charcoal Gray */
    --background-light: #e0f2fe;
    /* Light Sky Blue */
    --background-gradient-start: #bae6fd;
    /* Sky Blue */
    --background-gradient-end: #f0f9ff;
    /* Very Light Sky Blue */
    --surface-light: #ffffff;
    --surface-accent: #f8fafc;
    --border-light: #cbd5e1;
    --text-main: #333333;
    --text-muted: #52525b;
    --white: #ffffff;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;

    /* Decoration Colors (Sky) */
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-500: #0ea5e9;
    --sky-700: #0369a1;

    /* Fonts */
    --font-display: 'Manrope', sans-serif;

    /* Spacing & Sizes */
    --container-width: 1280px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-display);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    background: linear-gradient(to bottom, var(--background-gradient-start), var(--background-gradient-end));
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* Accessibility: Skip Link & Focus */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    z-index: 9999;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-out;
}

.skip-link:focus {
    top: 0;
    outline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.15);
    /* Soft ring effect */
    border-radius: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    /* px-4 py-4 */
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 1rem 2.5rem;
        /* md:px-10 */
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon .material-symbols-outlined {
    font-size: 1.875rem;
    /* text-3xl */
}

.logo-options h2 {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.025em;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(51, 51, 51, 0.05);
}

.btn-contact {
    display: none;
    height: 2.5rem;
    /* h-10 */
    padding: 0 1.25rem;
    /* px-5 */
    background-color: var(--secondary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(51, 51, 51, 0.2);
}

.btn-contact:hover {
    background-color: rgba(51, 51, 51, 0.8);
}

@media (min-width: 640px) {
    .btn-contact {
        display: flex;
    }
}

.menu-toggle {
    display: block;
    color: var(--secondary);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    padding: 4rem 1rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 8rem 2.5rem;
    }
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}

.blob-1 {
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.4);
    filter: blur(100px);
    transform: translate(33%, -50%);
    mix-blend-mode: soft-light;
}

.blob-2 {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background-color: rgba(252, 231, 234, 0.3);
    /* primary-light/30 */
    filter: blur(80px);
    transform: translate(-25%, 33%);
    mix-blend-mode: multiply;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--sky-200);
    width: fit-content;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    margin-bottom: 2rem;
    /* Added spacing */
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--primary);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.625;
    max-width: 36rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-description .accent {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(128, 0, 32, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .cta-group {
        flex-direction: row;
    }
}

.btn {
    height: 3.5rem;
    /* h-14 */
    padding: 0 2rem;
    /* px-8 */
    border-radius: 0.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    width: 100%;
}

@media (min-width: 640px) {
    .btn {
        width: auto;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(128, 0, 32, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: scale(1.02);
}

.btn-outline {
    background-color: var(--white);
    border: 1px solid rgba(51, 51, 51, 0.2);
    color: var(--secondary);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    border-color: rgba(128, 0, 32, 0.5);
    background-color: rgba(252, 231, 234, 0.1);
}

/* Stats */
.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 900;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Hero Image Card */
.hero-image-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image-container {
        min-height: 600px;
        justify-content: flex-end;
    }
}

.hero-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid var(--white);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(51, 51, 51, 0.5), transparent, transparent);
    z-index: 10;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    transition: transform 0.7s;
}

.hero-card:hover .card-image {
    transform: scale(1.05);
}

.card-info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-info-text p:first-child {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.875rem;
}

.card-info-text p:last-child {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.verified-icon {
    background-color: var(--primary);
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: var(--white);
    display: flex;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.verified-icon span {
    font-size: 1.125rem;
}

/* Trust Section */
.trust-section {
    border-top: 1px solid rgba(51, 51, 51, 0.1);
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    padding: 4rem 1rem;
}

.section-label {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    align-items: flex-start;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.5s;
    max-width: var(--container-width);
    margin: 0 auto;
}


}

.trust-grid:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: default;
}

.trust-icon-box {
    width: 4rem;
    height: 4rem;
    background-color: rgba(51, 51, 51, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: background-color 0.2s;
}

.trust-item:hover .trust-icon-box {
    background-color: rgba(128, 0, 32, 0.1);
}

.trust-icon-box span {
    font-size: 2.25rem;
    color: var(--secondary);
    transition: color 0.2s;
}

.trust-item:hover .trust-icon-box span {
    color: var(--primary);
}

.trust-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Base Section Styles */
.section-padding {
    padding: 5rem 1rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 8rem 2.5rem;
    }
}

.section-white {
    background-color: var(--white);
}

/* Expertise Section */
.expertise-section {
    background: linear-gradient(to bottom, var(--sky-50), var(--white));
}

.section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    gap: 1.5rem;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: inline-block;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(51, 51, 51, 0.1);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-intro {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 28rem;
}

@media (min-width: 768px) {
    .section-intro {
        font-size: 1rem;
    }
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.expertise-card {
    position: relative;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    border: 1px solid rgba(51, 51, 51, 0.1);
    box-shadow: 0 20px 25px -5px rgba(224, 242, 254, 0.5);
    /* sky-100/50 */
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    border-color: rgba(128, 0, 32, 0.3);
    box-shadow: 0 25px 50px -12px rgba(128, 0, 32, 0.05);
}

.card-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: linear-gradient(to bottom right, rgba(252, 231, 234, 0.5), white);
    border-bottom-left-radius: 100px;
    margin-right: -1.5rem;
    margin-top: -1.5rem;
    transition: transform 0.5s;
}

.expertise-card:hover .card-blob {
    transform: scale(1.1);
}

.card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #f1f5f9;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: background-color 0.3s, color 0.3s;
}

.expertise-card:hover .card-icon {
    background-color: var(--primary);
    color: var(--white);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-features {
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--secondary);
    font-weight: 500;
}

.feature-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.125rem;
}

/* Track Record (Journey) Section */
.journey-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--white), var(--background-gradient-start));
}

.journey-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

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

.timeline {
    position: relative;
    padding-left: 2rem;
}

@media (min-width: 768px) {
    .timeline {
        padding-left: 0;
    }
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(51, 51, 51, 0.1), rgba(51, 51, 51, 0.3), rgba(51, 51, 51, 0.1));
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

.timeline-content {
    position: relative;
}

@media (min-width: 768px) {
    .timeline-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .timeline-item:nth-child(even) .timeline-content {
        direction: rtl;
        /* Flip layout for alternation */
    }

    .timeline-item:nth-child(even) .timeline-content>* {
        direction: ltr;
        /* Reset text direction */
    }
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: -2rem;
    /* Aligns with line on mobile */
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
    z-index: 20;
    margin-left: -0.625rem;
    /* Center over line */
}

@media (min-width: 768px) {
    .timeline-dot {
        left: 50%;
        margin-left: -0.625rem;
    }
}

/* Timeline Text Content - Left/Right logic handles via grid/display */
.job-header {
    text-align: left;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .timeline-item:nth-child(odd) .job-header {
        text-align: right;
    }

    .timeline-item:nth-child(even) .job-header {
        text-align: left;
    }

    /* Hide the mobile view header that appears inside the card container */
    .mobile-header {
        display: none;
    }
}

.desktop-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.desktop-header p.company {
    color: var(--secondary);
    font-weight: 700;
}

.desktop-header p.date {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.job-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(51, 51, 51, 0.05);
    border: 1px solid rgba(51, 51, 51, 0.1);
    position: relative;
    /* On Desktop, this is one of the grid items. */
}

.job-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.job-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.6;
}

.bullet {
    margin-top: 0.375rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
}

/* Vision Section */
.vision-section {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.vision-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.vision-section .container {
    position: relative;
    z-index: 10;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .vision-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.vision-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    border: 1px solid var(--white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.vision-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.vision-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.vision-card:hover .vision-icon {
    transform: scale(1.1);
}

.vision-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--sky-50);
    color: var(--sky-700);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-radius: 9999px;
    border: 1px solid var(--sky-100);
}

.quote-box {
    margin-top: 4rem;
    background: linear-gradient(to right, var(--secondary), #1f2937);
    /* gray-800 */
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    color: var(--white);
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .quote-box {
        padding: 3rem;
    }
}

.quote-icon {
    font-size: 3rem;
    color: rgba(252, 231, 234, 0.3);
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.quote-text {
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .quote-text {
        font-size: 1.5rem;
    }
}

.quote-author {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: inline-block;
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

/* Events Section */
.events-section {
    background-color: var(--white);
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    text-decoration: underline;
    text-decoration-offset: 4px;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .events-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.event-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(51, 51, 51, 0.1);
    background-color: var(--surface-accent);
    transition: all 0.2s;
}

.event-card:hover {
    border-color: rgba(128, 0, 32, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 6rem;
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
    flex-shrink: 0;
}

.date-month {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
}

.event-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.event-type {
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.event-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    min-height: 3rem;
    /* Aligns titles */
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.event-card:hover .event-title {
    color: var(--primary);
}

.event-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background-color: var(--white);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-top: 1px solid var(--slate-200);
}

@media (min-width: 768px) {
    .site-footer {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.cta-box {
    background: linear-gradient(to bottom right, var(--secondary), #111827);
    /* gray-900 */
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .cta-box {
        padding: 4rem;
    }
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    margin: 0 auto;
    color: var(--white);
}

.cta-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 3rem;
    }
}

.cta-content p {
    color: var(--slate-300);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-cta-primary {
    height: 3.5rem;
    padding: 0 2rem;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    box-shadow: 0 10px 15px -3px rgba(128, 0, 32, 0.3);
}

.btn-cta-primary:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-cta-outline {
    height: 3.5rem;
    padding: 0 2rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 700;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-100);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 700;
}

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

.footer-link {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary);
}

.copyright {
    color: var(--slate-400);
    font-size: 0.875rem;
}

/* Deal Badges */
.deal-badges {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    padding-left: 1.5rem;
    /* Align with bullet text */
}

.deal-badge {
    width: 55px;
    height: 55px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.deal-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.deal-badge:hover {
    transform: translateY(-3px);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .deal-badges {
        padding-left: 0;
        margin-left: 1rem;
    }
}

/* Education Section */
.education-section {
    background-color: var(--surface-light);
    border-top: 1px solid rgba(51, 51, 51, 0.1);
    /* border-bottom: 1px solid rgba(51, 51, 51, 0.1); */
    background: linear-gradient(to top, var(--white), var(--background-gradient-end));
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .education-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.education-card {
    background: var(--white);
    border: 1px solid rgba(51, 51, 51, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(128, 0, 32, 0.1);
    border-color: rgba(128, 0, 32, 0.2);
}

.edu-year {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    width: fit-content;
    margin-bottom: 1rem;
}

.edu-details h4 {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    min-height: 2.8rem;
    /* Aligns titles */
    display: flex;
    align-items: center;
}

.edu-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Tech Stack Section */
.stack-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
    /* Extra padding bottom */
    background-color: var(--surface-light);
    text-align: center;
}

.stack-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.stack-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: var(--container-width);
    margin: 0 auto;
    opacity: 0.7;
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    cursor: default;
}

.stack-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--secondary);
}

.stack-item .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Hobbies Section */
.hobbies-section {
    padding: 6rem 0;
    background-color: var(--white);
    border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .hobbies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hobby-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
}

.hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hobby-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.hobby-card:hover .hobby-bg {
    transform: scale(1.1);
}

.hobby-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: white;
}

.hobby-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.hobby-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    /* Removed min-height from title to let it grow naturally upwards, 
       but if we want them aligned, we usually align the BOTTOM of the title.
       If we want the titles to be on the same horizontal line, we need fixed space below them.
    */
}

.hobby-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 90%;
    /* Fix description height to ~3 lines to force titles to align */
    min-height: 4.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link Icons Strategy */
.link-arrow .material-symbols-outlined {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.link-arrow:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* External Link handling */
.link-arrow[target="_blank"] .material-symbols-outlined {
    font-size: 0 !important;
    /* Hide original chevron/arrow text */
}

.link-arrow[target="_blank"] .material-symbols-outlined::after {
    content: "open_in_new";
    font-family: 'Material Symbols Outlined';
    font-size: 1.1rem;
    text-transform: none;
    display: inline-block;
}

/* =====================================================
   CV Download Modal - RGAA Accessible
   ===================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal[aria-hidden="false"] .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: var(--text-muted);
    transition: background-color 0.2s, color 0.2s;
}

.modal-close:hover {
    background-color: var(--slate-100);
    color: var(--secondary);
}

.modal-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
    border: none;
    padding: 0;
}

.form-group label,
.form-group legend {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.form-group input[type="email"] {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="email"]::placeholder {
    color: var(--slate-400);
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.form-group input[type="email"].error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    display: block;
    font-size: 0.8rem;
    color: #dc2626;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--slate-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.radio-custom::after {
    content: '';
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: var(--primary);
    transform: scale(0);
    transition: transform 0.2s;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: var(--primary);
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    transform: scale(1);
}

.radio-label input[type="radio"]:focus-visible+.radio-custom {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Submit Button */
.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.btn .btn-text,
.btn .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn .btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: flex;
}

/* Spinner Animation */
.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Notice */
.form-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-100);
}

/* Success State */
.modal-success {
    text-align: center;
    padding: 1rem 0;
}

.modal-success .success-icon {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 1rem;
    display: block;
}

.modal-success h2 {
    padding-right: 0;
    text-align: center;
}

.modal-success p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.modal-success .btn {
    gap: 0.75rem;
}

.modal-success .btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Modal Large (Contact) */
.modal-container-lg {
    max-width: 36rem;
}

/* Form Row (2 columns) */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Text Input (shared with email) */
.form-group input[type="text"] {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]::placeholder {
    color: var(--slate-400);
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.form-group input[type="text"].error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Textarea */
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background-color: var(--white);
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Required indicator */
.required {
    color: #dc2626;
}

/* Honeypot - Hidden from users */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Modal Responsive */
@media (max-width: 480px) {
    .modal-container {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .modal-content h2 {
        font-size: 1.25rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* =====================================================
   Project Detail Pages
   ===================================================== */

/* Breadcrumb Navigation */
.breadcrumb-container {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-link .material-symbols-outlined {
    font-size: 1.125rem;
}

.breadcrumb-separator {
    color: var(--slate-300);
}

.breadcrumb-current {
    color: var(--secondary);
    font-weight: 600;
}

/* Project Hero */
.project-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--white) 100%);
}

.project-hero-content {
    max-width: 48rem;
}

.project-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.project-role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.project-tagline {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Project Sections */
.project-section {
    padding: 4rem 0;
}

.project-section.bg-light {
    background: var(--slate-50);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Methodology Grid */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.methodology-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.methodology-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Case Studies Grid */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.case-study-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(128, 0, 32, 0.1);
}

.case-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.case-icon .material-symbols-outlined {
    font-size: 2rem;
    color: var(--white);
}

.case-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.case-description {
    color: var(--text-muted);
    line-height: 1.6;
}

.case-description strong {
    color: var(--primary);
    font-weight: 700;
}

/* Tech Stack Section */
.tech-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.tech-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
}

.tech-highlight-item .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.5rem;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--slate-200);
}

.tech-category-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tech-category-icon .material-symbols-outlined {
    font-size: 2rem;
    color: var(--white);
}

.tech-category-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-badge {
    padding: 0.5rem 1rem;
    background: var(--slate-100);
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: background-color 0.2s, color 0.2s;
}

.tech-badge:hover {
    background: var(--primary);
    color: var(--white);
}

/* Project Navigation */
.project-navigation {
    padding: 4rem 0;
    background: var(--slate-50);
}

.project-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-nav-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    border: 2px solid var(--slate-200);
    transition: border-color 0.3s, transform 0.3s;
}

.project-nav-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.nav-label .material-symbols-outlined {
    font-size: 1.125rem;
}

.project-nav-card.next .nav-label {
    justify-content: flex-end;
}

.nav-project-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.nav-project-role {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Project CTA */
.project-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 42rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.project-cta .btn {
    background: var(--white);
    color: var(--primary);
}

.project-cta .btn:hover {
    background: var(--slate-100);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }

    .project-role {
        font-size: 1.125rem;
    }

    .project-tagline {
        font-size: 1rem;
    }

    .methodology-grid,
    .case-studies-grid,
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-title {
        font-size: 1.75rem;
    }
}

/* =====================================================
   Achievement Badges
   ===================================================== */

.achievement-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-50) 100%);
    border: 1px solid var(--slate-200);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.2s;
}

.achievement-badge .material-symbols-outlined {
    font-size: 0.875rem;
    color: var(--primary);
}

.achievement-badge:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(128, 0, 32, 0.2);
}

.achievement-badge:hover .material-symbols-outlined {
    color: var(--white);
}

/* =====================================================
   Mobile Menu
   ===================================================== */
.mobile-menu-btn {
    display: flex;
    /* Visible on mobile */
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--secondary);
    z-index: 101;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 200;
    padding: 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-200);
}

.mobile-menu-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu-close {
    padding: 0.5rem;
    color: var(--text-muted);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--slate-100);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
}

.btn-contact-mobile {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 0.5rem;
}