/* 
   Khurram Shahzad — Senior Full-Stack Architect & Technical Lead
   SpaceX-Inspired Minimalist Enterprise Design System
*/

:root {
    --bg-main: #fafafa;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-card: #ffffff;
    --bg-subtle: #f4f4f5;
    --bg-badge: #f0f9ff;
    
    /* SpaceX Minimalist Palette */
    --spacex-black: #09090b;
    --primary-blue: #2563eb;
    --primary-dark: #1d4ed8;
    --accent-emerald: #059669;

    /* Text Palette */
    --text-heading: #09090b;
    --text-body: #27272a;
    --text-muted: #71717a;
    --text-light: #a1a1aa;

    /* Borders & Subtle Shadows */
    --border-light: #e4e4e7;
    --border-dark: #27272a;
    --border-accent: #bae6fd;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.brand-icon-svg {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    display: inline-block;
    flex-shrink: 0;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f4f4f5;
}
::-webkit-scrollbar-thumb {
    background: #a1a1aa;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #71717a;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

.uppercase-track {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Layout Containers */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Enterprise Cards */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-lg);
}

/* Header & Sticky Navigation */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--spacex-black);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 17px;
    color: #ffffff;
}

.logo-info h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
}

.logo-info span {
    font-size: 10.5px;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

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

.btn-primary {
    background: var(--spacex-black);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid var(--spacex-black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #27272a;
    transform: translateY(-1px);
}

.btn-outline {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--spacex-black);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: var(--bg-subtle);
    border-color: var(--spacex-black);
    transform: translateY(-1px);
}

/* SpaceX Inspired Top Hero Banner (50-60vh) */
.hero-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 24px 0 32px 0;
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badges-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.top-rated-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fefce8;
    border: 1px solid #fef08a;
    color: #a16207;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.jss-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 16px;
    color: var(--spacex-black);
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 620px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Profile Visual Card */
.profile-visual-card {
    padding: 26px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 2px;
    background: var(--border-light);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.exp-ribbon {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--spacex-black);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 10px;
    padding: 3px 12px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.profile-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--spacex-black);
}

.profile-role {
    font-size: 12px;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.trust-card-info {
    font-size: 12.5px;
    color: var(--text-body);
    text-align: left;
    background: var(--bg-subtle);
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

/* Key Metrics Bar */
.metrics-section {
    padding: 25px 0 45px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.metric-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 18px 14px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.metric-card:hover {
    border-color: var(--spacex-black);
    transform: translateY(-2px);
}

.metric-number {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--spacex-black);
    line-height: 1.1;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 10.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 35px;
}

.section-tag {
    font-size: 11px;
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    color: var(--spacex-black);
}

.section-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Git Activity & AWS Architecture Section */
.git-aws-section {
    padding: 35px 0 55px;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.git-aws-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.git-activity-card, .aws-stack-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.git-card-header, .aws-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.git-card-header h3, .aws-card-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--spacex-black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.commit-total-badge {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: var(--accent-emerald);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Clean Monthly Git Activity List UI */
.git-monthly-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.git-month-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--bg-subtle);
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.git-month-name {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--spacex-black);
    width: 70px;
    text-transform: uppercase;
}

.git-progress-track {
    flex-grow: 1;
    height: 8px;
    background: #e4e4e7;
    border-radius: 4px;
    overflow: hidden;
}

.git-progress-bar {
    height: 100%;
    background: var(--spacex-black);
    border-radius: 4px;
}

.git-month-count {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    width: 80px;
    text-align: right;
}

.git-summary-text {
    font-size: 12.5px;
    color: var(--text-body);
    line-height: 1.5;
}

/* AWS Components Grid */
.aws-components-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.aws-comp-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.aws-comp-item i {
    font-size: 18px;
    color: #ff9900;
    margin-top: 2px;
}

.aws-comp-item h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--spacex-black);
    margin-bottom: 2px;
}

.aws-comp-item p {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Work Logs Section (Anonymized Client Work Execution) */
.worklogs-section {
    padding: 45px 0 70px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
}

.log-filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.log-filter-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--text-body);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.log-filter-btn:hover, .log-filter-btn.active {
    background: var(--spacex-black);
    border-color: var(--spacex-black);
    color: #ffffff;
}

.worklogs-feed {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.worklog-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.worklog-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}

.worklog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.worklog-date {
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

.worklog-tag {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--text-heading);
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.worklog-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--spacex-black);
    margin-bottom: 10px;
}

.worklog-bullets {
    padding-left: 20px;
    margin-bottom: 12px;
}

.worklog-bullets li {
    font-size: 13.5px;
    color: var(--text-body);
    margin-bottom: 6px;
    line-height: 1.55;
}

.worklog-outcome {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-emerald);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 5px 12px;
    border-radius: 6px;
}

/* Skill Matrix Section */
.skills-section {
    padding: 35px 0 55px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* AI-Powered Development Full-Width Banner */
.ai-feature-section {
    padding: 25px 0 45px 0;
    background: #ffffff;
}

.ai-feature-card {
    padding: 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.ai-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.ai-feature-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--spacex-black);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.ai-feature-desc {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 920px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.ai-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.ai-stat-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 18px;
    border-radius: 8px;
}

.ai-stat-value {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.ai-stat-sub {
    font-size: 12px;
    font-weight: 700;
    color: var(--spacex-black);
    margin-bottom: 6px;
}

.ai-stat-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.ai-skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #cbd5e1;
}

.skill-category-card {
    padding: 22px;
    background: #ffffff;
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.skill-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--spacex-black);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.skill-title {
    font-size: 15px;
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--text-heading);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
}

.skill-tag.highlight {
    background: var(--bg-badge);
    border-color: var(--border-accent);
    color: var(--primary-blue);
}

/* Projects Showcase & Filter */
.projects-section {
    padding: 35px 0 65px;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-body);
    padding: 7px 16px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--spacex-black);
    border-color: var(--spacex-black);
    color: #ffffff;
}

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

.project-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: var(--spacex-black);
    box-shadow: var(--shadow-md);
}

.project-thumb-wrapper {
    position: relative;
    height: 185px;
    overflow: hidden;
    background: #f4f4f5;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumb {
    transform: scale(1.03);
}

.project-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--spacex-black);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.project-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--spacex-black);
}

.project-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.55;
    flex-grow: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 16px;
}

.tech-pill {
    font-size: 10.5px;
    font-family: 'Fira Code', monospace;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--text-heading);
    padding: 2px 7px;
    border-radius: 4px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.btn-case-study {
    color: var(--spacex-black);
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.btn-case-study:hover {
    color: var(--primary-blue);
}

.live-link {
    color: var(--accent-emerald);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

/* Career Timeline Section */
.timeline-section {
    padding: 35px 0 65px;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0; bottom: 0;
    width: 2px;
    background: var(--border-light);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 26px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 30px;
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    right: -6px;
    top: 18px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 3px solid var(--spacex-black);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -6px;
}

.timeline-card {
    padding: 18px;
    width: 100%;
    background: #ffffff;
}

.timeline-date {
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.timeline-role {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 3px;
    color: var(--spacex-black);
}

.timeline-company {
    font-size: 12.5px;
    color: var(--text-body);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Contact Section */
.contact-section {
    padding: 35px 0 75px;
}

.contact-card {
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    background: #ffffff;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.25;
}

.contact-info p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 6px;
}

.contact-method-item i {
    font-size: 16px;
    color: var(--spacex-black);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--spacex-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 9px 12px;
    color: var(--spacex-black);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--spacex-black);
}

/* Modal Drawer for Case Studies */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-drawer {
    width: 580px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--border-light);
    padding: 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-drawer {
    transform: translateX(0);
}

.modal-close-btn {
    align-self: flex-end;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--spacex-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 14px;
}

.modal-close-btn:hover {
    background: var(--border-light);
}

.modal-body {
    line-height: 1.65;
    color: var(--text-body);
}

.modal-body h2 {
    color: var(--spacex-black);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal-body h3 {
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 700;
    margin: 18px 0 6px;
}

.modal-body p {
    margin-bottom: 12px;
    font-size: 13.5px;
}

.modal-body ul {
    margin-bottom: 16px;
    padding-left: 18px;
}

.modal-body li {
    margin-bottom: 6px;
}

/* Footer */
footer.site-footer {
    border-top: 1px solid var(--border-light);
    padding: 22px 0;
    background: #ffffff;
    text-align: center;
    color: var(--text-muted);
    font-size: 12.5px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .hero-grid { grid-template-columns: 1fr; }
    .git-aws-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(3, 1fr); }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .nav-links {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
    }
    .nav-links li {
        display: inline-block;
    }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .aws-components-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .hero-pillars { grid-template-columns: 1fr; }
    .timeline-container::before { left: 18px; }
    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        padding-left: 36px;
        padding-right: 0;
        margin-left: 0;
    }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
    }
    .modal-drawer { width: 100%; padding: 24px 16px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .metrics-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn-primary, .hero-ctas .btn-outline { width: 100%; justify-content: center; }
}
