/* -------------------------------------------------------------
   JAYS JOSE THOMAS PORTFOLIO STYLE SYSTEM
   Theme: Luxury, Confident Minimalist
   Colors: Dark Navy (#071827), Accent Blue (#2563EB), Pure White (#FFFFFF)
------------------------------------------------------------- */

/* Reset & Base Variables */
:root {
    --bg-navy: #071827;
    --bg-navy-dark: #030d17;
    --bg-white: #ffffff;
    --bg-grey: #f8fafc;
    --accent-blue: #2563EB;
    --accent-blue-glow: rgba(37, 99, 235, 0.15);
    --text-white: #f8fafc;
    --text-charcoal: #0f172a;
    --text-grey: #64748b;
    --text-grey-light: #94a3b8;
    
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    --cursor-size: 8px;
    --cursor-dot-size: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor for custom experience on desktop */
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-navy);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-navy-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--text-grey);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Custom Cursor */
.custom-cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    background: var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-dot {
    width: var(--cursor-dot-size);
    height: var(--cursor-dot-size);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, border-color 0.2s;
}

/* Cursor hover actions */
.custom-cursor.hovered {
    width: 16px;
    height: 16px;
    background: #ffffff;
}
.custom-cursor-dot.hovered {
    width: 48px;
    height: 48px;
    border-color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
}

/* Section Controls */
.section-viewport {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.section-padding {
    padding: 8rem 0;
}

/* Light / Dark Themes */
.light-section {
    background-color: var(--bg-white);
    color: var(--text-charcoal);
}

.grey-section {
    background-color: var(--bg-grey);
    color: var(--text-charcoal);
}

.dark-section {
    background-color: var(--bg-navy);
    color: var(--text-white);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

.section-header {
    margin-bottom: 5rem;
    max-width: 800px;
}

.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-grey);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.25rem;
    color: var(--text-grey);
    line-height: 1.5;
}

.text-center {
    text-align: center;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.light-section .btn-secondary {
    border-color: rgba(15, 23, 42, 0.2);
    color: var(--text-charcoal);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.light-section .btn-secondary:hover {
    background-color: rgba(15, 23, 42, 0.05);
}

.btn-icon-only {
    padding: 0.875rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-icon-only:hover {
    background-color: rgba(37, 99, 235, 0.1);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-icon {
    margin-left: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.2s;
}
.btn:hover .btn-icon {
    transform: translateY(2px);
}

/* Header & Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

body.light-theme .sticky-nav {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.light-theme .nav-logo {
    color: var(--text-charcoal);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: inline-block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    color: var(--text-grey-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.25rem 0;
}

body.light-theme .nav-link {
    color: var(--text-grey);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

body.light-theme .nav-link:hover, body.light-theme .nav-link.active {
    color: var(--text-charcoal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--accent-blue);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}
.contact-btn::after {
    display: none;
}
.contact-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
}
.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}
body.light-theme .mobile-toggle .bar {
    background-color: var(--text-charcoal);
}

/* Hero Section */
.hero-section {
    background-color: var(--bg-navy-dark);
    padding-top: 8rem;
    z-index: 1;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.12) 0%, rgba(3, 13, 23, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.hero-title span {
    display: block;
}

.hero-name {
    color: #ffffff;
}
.hero-main-role {
    color: var(--accent-blue);
}
.hero-sub-role {
    font-size: 2.5rem;
    color: var(--text-grey);
    margin-top: 0.5rem;
}

.rotator-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 3rem;
}

.rotator-prefix {
    color: var(--text-grey);
}

.rotator-text {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ffffff;
    border-right: 2px solid var(--accent-blue);
    padding-right: 4px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-blue); }
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.portrait-frame {
    width: 350px;
    height: 350px;
    position: relative;
    border-radius: 50%; /* Perfect Circle! */
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(7, 24, 39, 0.5);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 12s var(--transition-smooth);
}
.portrait-frame:hover .portrait-img {
    transform: scale(1.08);
}

.glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
    z-index: -1;
    transition: var(--transition-smooth);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* About Section & Constellation */
.constellation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.constellation-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.constellation-svg {
    max-width: 450px;
    width: 100%;
}

.grid-circle {
    fill: none;
    stroke: rgba(15, 23, 42, 0.04);
    stroke-width: 1.5;
}

.c-line {
    stroke: rgba(37, 99, 235, 0.1);
    stroke-width: 1.5;
    transition: var(--transition-smooth);
}
.c-line-secondary {
    stroke: rgba(15, 23, 42, 0.02);
    stroke-width: 1;
}

.const-node circle {
    fill: #ffffff;
    stroke: rgba(15, 23, 42, 0.08);
    stroke-width: 2;
    transition: var(--transition-smooth);
}

.const-node text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    fill: var(--text-grey);
    transition: var(--transition-smooth);
}

/* Central Node Jays */
.const-node.central circle {
    fill: var(--accent-blue);
    stroke: var(--accent-blue);
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
}
.const-node.central text {
    fill: #ffffff;
    font-weight: 600;
}

/* Constellation hover styles */
.const-node:hover circle {
    fill: var(--accent-blue);
    stroke: var(--accent-blue);
    r: 20;
    filter: drop-shadow(0 4px 16px rgba(37, 99, 235, 0.3));
}
.const-node:hover text {
    font-weight: 600;
    fill: var(--accent-blue);
}

.constellation-info {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.info-card {
    background-color: var(--bg-grey);
    border: 1px solid rgba(15, 23, 42, 0.03);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    width: 100%;
    transition: var(--transition-smooth);
}

.info-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.info-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-charcoal);
}

.info-card p {
    font-size: 1.05rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.info-tip {
    font-size: 0.8rem;
    color: var(--text-grey-light);
    display: block;
}

.hidden {
    display: none !important;
}

/* Cloud centerpiece */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-grey);
}

.stat-progress {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-top: 1.5rem;
}
.progress-bar {
    height: 100%;
    background-color: var(--accent-blue);
    width: 0%;
    transition: width 1.5s var(--transition-smooth);
}

.cloud-dashboard {
    background-color: var(--bg-navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.dashboard-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.1);
}

.dash-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-grey);
    cursor: none;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}
.dash-tab:hover, .dash-tab.active {
    color: #ffffff;
}
.dash-tab.active {
    border-bottom-color: var(--accent-blue);
    background-color: rgba(255, 255, 255, 0.01);
}

.dashboard-content {
    padding: 4rem;
}

.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

.panel-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.panel-details h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.panel-desc {
    color: var(--text-grey);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-white);
}

.panel-list li i {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.panel-graphic {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Diagrams */
.diagram-container {
    width: 100%;
}

.gpu-rack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gpu-node-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 4px;
}

.box-label {
    font-size: 0.8rem;
    color: var(--text-grey);
    display: block;
    margin-bottom: 0.5rem;
}

.gpu-bar {
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 4px;
    width: 100%;
}

.splicer-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-grey);
    font-size: 0.85rem;
}

.splicer-icon {
    width: 1rem;
    height: 1rem;
    animation: rotate-splicer 4s linear infinite;
}

@keyframes rotate-splicer {
    from { transform: rotate(0deg) }
    to { transform: rotate(360deg) }
}

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

.gpu-slice-item {
    background-color: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-align: center;
}

.badge {
    background-color: var(--accent-blue);
    color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
    font-size: 0.65rem;
    display: block;
    margin-bottom: 0.4rem;
}

.growth-graph {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
}

.graph-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.graph-bar {
    width: 60px;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition-slow);
}
.graph-bar span {
    transform: rotate(-90deg);
}

.bar-start {
    background-color: rgba(255, 255, 255, 0.1);
}
.bar-end {
    background-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.billing-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flow-step {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
}
.flow-step.highlight {
    border-color: var(--accent-blue);
    background-color: rgba(37, 99, 235, 0.05);
}
.flow-arrow {
    color: var(--text-grey);
}

.iam-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.tree-root {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 0.875rem;
}
.tree-branches {
    display: flex;
    gap: 2rem;
    width: 100%;
}
.tree-branch {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-align: center;
}

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

.case-card {
    background-color: var(--bg-grey);
    border: 1px solid rgba(15, 23, 42, 0.03);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.case-image-placeholder {
    height: 240px;
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}
.case-image-placeholder.dark-bg {
    background-color: var(--bg-navy-dark);
}

.case-icon {
    width: 4rem;
    height: 4rem;
    color: var(--accent-blue);
}

.case-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: #ffffff;
    color: var(--text-charcoal);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.case-body {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-charcoal);
}

.case-body p {
    color: var(--text-grey);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.case-card-footer {
    margin-top: auto;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Decks Showcase */
.mini-decks-showcase {
    margin-top: 6rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 6rem;
}

.mini-decks-showcase h3 {
    font-size: 1.75rem;
    margin-bottom: 3rem;
}

.decks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.deck-item {
    background-color: var(--bg-grey);
    border: 1px solid rgba(15, 23, 42, 0.02);
    padding: 2rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}
.deck-item:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.2);
}

.deck-brand {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.deck-brand i {
    width: 1.25rem;
    height: 1.25rem;
}
.text-green { color: #22c55e }
.text-red { color: #ef4444 }

.deck-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-charcoal);
}

.deck-item p {
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.deck-download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.deck-download-link:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

/* Case Study Modals */
.case-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.case-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content-wrapper {
    position: relative;
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    width: 100%;
    max-width: 900px;
    height: 80vh;
    border-radius: 8px;
    z-index: 2002;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
    animation: slide-up-modal 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-up-modal {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background-color: rgba(15, 23, 42, 0.05);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-charcoal);
    cursor: none;
    z-index: 10;
    transition: var(--transition-smooth);
}
.modal-close:hover {
    background-color: rgba(15, 23, 42, 0.1);
}

.modal-scroll-body {
    padding: 4rem;
    height: 100%;
    overflow-y: auto;
}

.modal-scroll-body h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.modal-section {
    margin-bottom: 3rem;
}
.modal-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 0.5rem;
}
.modal-section p {
    font-size: 1.05rem;
    color: var(--text-grey);
    line-height: 1.6;
}

.modal-metrics-bar {
    display: flex;
    gap: 3rem;
    background-color: var(--bg-grey);
    padding: 2rem;
    border-radius: 6px;
    margin-bottom: 3rem;
}
.modal-metric-item span {
    font-size: 0.8rem;
    color: var(--text-grey);
    display: block;
}
.modal-metric-item strong {
    font-size: 1.5rem;
    color: var(--accent-blue);
    font-family: var(--font-heading);
}

/* Timeline Vertical */
.timeline-vertical {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.timeline-vertical::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.05);
}

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

.time-marker {
    position: absolute;
    top: 5px;
    left: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 4px solid var(--accent-blue);
    z-index: 1;
    transition: var(--transition-smooth);
}
.timeline-item:hover .time-marker {
    transform: scale(1.3);
    background-color: var(--accent-blue);
}

.time-content {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.02);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.time-period {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-grey);
    display: block;
    margin-bottom: 0.5rem;
}

.time-role {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-charcoal);
}

.time-org {
    color: var(--accent-blue);
}

.time-mission {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.time-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.time-details .badge {
    background-color: var(--bg-grey);
    color: var(--text-grey);
    border: 1px solid rgba(15, 23, 42, 0.05);
    margin-bottom: 0;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.btn-text-expand {
    padding: 0;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
}
.btn-text-expand i {
    width: 0.9rem;
    height: 0.9rem;
    vertical-align: middle;
}

.timeline-expansion-content {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 1.5rem;
    transition: var(--transition-smooth);
}

.expanded-inner p {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin-bottom: 1rem;
}

.expanded-inner blockquote {
    border-left: 2px solid var(--accent-blue);
    padding-left: 1rem;
    font-style: italic;
    color: var(--text-charcoal);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* Highlighted Education Dashboard Styling */
.education-highlight-card {
    background-color: var(--bg-navy);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4rem;
    box-shadow: 0 30px 60px rgba(7, 24, 39, 0.25);
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    position: relative;
    overflow: hidden;
}

.education-highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}

.edu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2.5rem;
}

.edu-card-title-block h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.edu-campus {
    font-size: 1rem;
    color: var(--text-grey-light);
    font-weight: 500;
}

.edu-degree-badge {
    background-color: var(--accent-blue);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.edu-degrees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.degree-item {
    display: flex;
    gap: 1.5rem;
}

.degree-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.degree-item h4 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.degree-item p {
    font-size: 0.95rem;
    color: var(--text-grey-light);
    line-height: 1.6;
}

.edu-leadership-block h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

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

.edu-role-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.01);
    transition: var(--transition-smooth);
}
.edu-role-card:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.edu-role-header {
    margin-bottom: 1rem;
}

.edu-role-header h5 {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.edu-role-date {
    font-size: 0.75rem;
    color: var(--text-grey-light);
    font-weight: 500;
}

.edu-role-card p {
    font-size: 0.85rem;
    color: var(--text-grey-light);
    line-height: 1.5;
}

/* Leadership and Philosophies */
.leadership-tabs-container {
    max-width: 900px;
    margin: 4rem auto 5rem auto;
}

.leadership-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.lead-tab {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-grey);
    cursor: none;
    transition: var(--transition-smooth);
}
.lead-tab:hover, .lead-tab.active {
    color: #ffffff;
    border-color: var(--accent-blue);
    background-color: rgba(37, 99, 235, 0.05);
}

.leadership-content {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 8px;
    min-height: 240px;
}

.lead-panel {
    display: none;
}
.lead-panel.active {
    display: block;
}

.lead-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.lead-panel p {
    color: var(--text-grey);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.lead-panel .quote {
    font-style: italic;
    color: var(--accent-blue);
    display: block;
}

.how-i-think-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 5rem;
}

.think-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.think-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.01);
    position: absolute;
    top: -1rem;
    right: 0;
    line-height: 1;
}

.think-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.think-card p {
    font-size: 0.85rem;
    color: var(--text-grey);
}

.avengers-showcase {
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6rem;
}

.avengers-showcase h3 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 3rem;
}

.avengers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.avenger-item {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
}

.avenger-item i {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.25rem;
}

.avenger-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.avenger-item span {
    font-size: 0.8rem;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 1rem;
}

.avenger-item p {
    font-size: 0.85rem;
    color: var(--text-grey);
}

/* Beyond Work */
.beyond-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    margin-top: 4rem;
}

.beyond-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.beyond-btn {
    background-color: var(--bg-grey);
    border: 1px solid rgba(15, 23, 42, 0.02);
    padding: 1.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    cursor: none;
    transition: var(--transition-smooth);
}
.beyond-btn i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--text-grey);
    transition: var(--transition-smooth);
}
.beyond-btn:hover, .beyond-btn.active {
    background-color: #ffffff;
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}
.beyond-btn.active i {
    color: var(--accent-blue);
}

.btn-text span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-charcoal);
    display: block;
}
.btn-text small {
    font-size: 0.8rem;
    color: var(--text-grey);
}

.beyond-display {
    background-color: var(--bg-grey);
    border: 1px solid rgba(15, 23, 42, 0.03);
    padding: 4rem;
    border-radius: 8px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.beyond-panel {
    display: none;
    width: 100%;
}
.beyond-panel.active {
    display: block;
}

.beyond-panel h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.beyond-panel p {
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.panel-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.panel-bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}
.panel-bullet-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.book-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
    align-items: center;
}

.book-cover {
    perspective: 1000px;
}
.cover-design {
    width: 140px;
    height: 210px;
    background-color: #0b1a29;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px 12px 12px 3px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotateY(-15deg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}
.cover-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}
.cover-author {
    font-size: 0.7rem;
    color: var(--text-grey);
}

.book-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.book-details blockquote {
    border-left: 2px solid var(--accent-blue);
    padding-left: 1rem;
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

/* Astro Section styling */
.astro-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
    gap: 0.5rem;
    max-height: 450px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.astro-photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
    cursor: pointer;
    background-color: var(--bg-navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.astro-photo-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Hover Overlay Caption */
.astro-photo-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.astro-photo-item:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar for the gallery */
.astro-gallery::-webkit-scrollbar {
    width: 6px;
}
.astro-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.astro-gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.astro-gallery::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Collage layout spans using nth-child */
.astro-photo-item:nth-child(1) { grid-column: span 2; grid-row: span 2; } /* Theyyam 3 (Large) */
.astro-photo-item:nth-child(2) { grid-column: span 1; grid-row: span 2; } /* Theyyam 1 (Tall) */
.astro-photo-item:nth-child(3) { grid-column: span 1; grid-row: span 1; } /* Theyyam 2 */
.astro-photo-item:nth-child(4) { grid-column: span 1; grid-row: span 1; } /* Theyyam 4 */
.astro-photo-item:nth-child(5) { grid-column: span 2; grid-row: span 1; } /* Mountains (Wide) */
.astro-photo-item:nth-child(6) { grid-column: span 1; grid-row: span 2; } /* Girl (Tall) */
.astro-photo-item:nth-child(7) { grid-column: span 1; grid-row: span 1; } /* Sadhu */
.astro-photo-item:nth-child(8) { grid-column: span 2; grid-row: span 1; } /* Street (Wide) */
.astro-photo-item:nth-child(9) { grid-column: span 1; grid-row: span 2; } /* Carousel (Tall) */
.astro-photo-item:nth-child(10) { grid-column: span 1; grid-row: span 1; } /* Balloon */
.astro-photo-item:nth-child(11) { grid-column: span 1; grid-row: span 1; } /* Lake */
.astro-photo-item:nth-child(12) { grid-column: span 2; grid-row: span 2; } /* Kids (Large) */
.astro-photo-item:nth-child(13) { grid-column: span 1; grid-row: span 1; } /* Monk */
.astro-photo-item:nth-child(14) { grid-column: span 1; grid-row: span 2; } /* Toddler (Tall) */
.astro-photo-item:nth-child(15) { grid-column: span 2; grid-row: span 1; } /* Shiva (Wide) */
.astro-photo-item:nth-child(16) { grid-column: span 1; grid-row: span 1; } /* Laugh */

.astro-photo-placeholder {
    height: 180px;
    background-color: var(--bg-navy);
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-grey);
    font-size: 0.8rem;
    gap: 0.5rem;
}

.gallery-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Travel Map styling */
.travel-map-container {
    position: relative;
    width: 100%;
    background-color: var(--bg-navy-dark);
    padding: 1.5rem;
    border-radius: 4px;
}

.travel-svg {
    width: 100%;
}

.india-state-path {
    fill: rgba(37, 99, 235, 0.05); /* Soft premium blue landmass fill */
    stroke: rgba(255, 255, 255, 0.15); /* Solid clean boundaries */
    stroke-width: 0.6px;
    transition: var(--transition-smooth);
}
body.light-theme .india-state-path {
    fill: rgba(37, 99, 235, 0.02);
    stroke: rgba(15, 23, 42, 0.12);
}
.india-state-path:hover {
    fill: rgba(37, 99, 235, 0.18); /* Brighter highlight on hover */
    stroke: var(--accent-blue); /* Solid electric blue border on hover */
    stroke-width: 1px;
}

.hotspot {
    fill: #ffffff;
    stroke: var(--accent-blue);
    stroke-width: 3px;
    r: 6px;
    cursor: none;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.8));
}
.hotspot:hover {
    fill: var(--accent-blue);
    stroke: #ffffff;
    stroke-width: 4px;
    r: 9px;
    filter: drop-shadow(0 0 12px rgba(37, 99, 235, 1));
}

.travel-svg path[stroke-dasharray] {
    stroke: var(--accent-blue) !important;
    stroke-width: 2px !important;
    stroke-opacity: 0.7 !important;
    filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.6));
}

.map-tooltip {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-top: 1rem;
    min-height: 20px;
}

/* Interactive Resume */
.resume-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-top: 4rem;
}

.skills-block h3, .downloads-block h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.skills-category {
    margin-bottom: 2rem;
}

.skills-category h4 {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skills-tags span {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
}

.certs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.certs-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}
.certs-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-blue);
}

.download-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-ctas .btn {
    width: 100%;
}

/* Contact Links */
.contact-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
    background-color: rgba(37, 99, 235, 0.02);
}

.contact-card i {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-grey);
    transition: var(--transition-smooth);
}
.contact-card:hover i {
    color: var(--accent-blue);
    transform: scale(1.1);
}

.contact-card span {
    font-size: 0.8rem;
    color: var(--text-grey);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-card strong {
    font-size: 0.95rem;
    color: #ffffff;
    display: block;
    word-break: break-all;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-navy-dark);
    padding: 4rem 0;
}

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

.footer-quote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-grey-light);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-grey);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-ctas {
        justify-content: center;
    }
    .rotator-container {
        justify-content: center;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-sub-role {
        font-size: 2.2rem;
    }
    .constellation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .constellation-info {
        min-height: auto;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .panel-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    .decks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-i-think-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .avengers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .beyond-grid {
        grid-template-columns: 1fr;
    }
    .beyond-display {
        padding: 2.5rem;
        min-height: auto;
    }
    .resume-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .edu-roles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .edu-degrees-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--bg-navy);
        overflow: hidden;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        transition: var(--transition-smooth);
        border-bottom: 1px solid rgba(255, 255, 255, 0);
    }
    body.light-theme .nav-menu {
        background-color: var(--bg-white);
    }
    .nav-menu.active {
        height: auto;
        padding: 3rem 2rem;
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }
    body.light-theme .nav-menu.active {
        border-bottom-color: rgba(15, 23, 42, 0.05);
    }
    .nav-link {
        font-size: 1.1rem;
    }
    .contact-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-sub-role {
        font-size: 1.8rem;
    }
    .portrait-frame {
        width: 280px;
        height: 280px;
    }
    .dashboard-content {
        padding: 2rem;
    }
    .dashboard-tabs {
        flex-wrap: wrap;
    }
    .dash-tab {
        flex: none;
        width: 50%;
    }
    .timeline-vertical::after {
        left: 15px;
    }
    .timeline-item {
        padding-left: 45px;
    }
    .time-marker {
        left: 6px;
    }
    .time-content {
        padding: 1.5rem;
    }
    .education-highlight-card {
        padding: 2rem;
    }
    .edu-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    .leadership-tabs {
        flex-wrap: wrap;
    }
    .leadership-content {
        padding: 2rem;
    }
    .book-layout {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .astro-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 110px;
        gap: 0.5rem;
        max-height: 380px;
    }
    .astro-photo-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .astro-photo-item:nth-child(3n+1) {
        grid-column: span 2 !important;
    }
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .astro-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 130px;
        gap: 0.5rem;
        max-height: 350px;
    }
    .astro-photo-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .decks-grid {
        grid-template-columns: 1fr;
    }
    .how-i-think-grid {
        grid-template-columns: 1fr;
    }
    .avengers-grid {
        grid-template-columns: 1fr;
    }
    .contact-links-grid {
        grid-template-columns: 1fr;
    }
}
