/* ==========================================================================
   PREMIUM PORTFOLIO DESIGN SYSTEM
   Theme: "Refined Light" (Inspired by Stripe, Linear, Vercel, Apple Developer)
   ========================================================================== */

:root {
  /* --- Color Palette --- */
  --bg-primary: #FAFAFA;
  --bg-secondary: #F8F9FB;
  --bg-tertiary: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-dark: #0F172A; /* Slate 900 for dark CTA/Footer */
  
  --primary: #2563EB; /* Deep Blue */
  --primary-hover: #1D4ED8;
  --primary-accent: #3B82F6; /* Royal Blue */
  --secondary: #64748B; /* Slate Gray */
  
  --text-main: #0F172A; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --text-light: #94A3B8; /* Slate 400 */
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0; /* Slate 200 */
  --border-hover: #CBD5E1; /* Slate 300 */
  
  /* --- Typography --- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  
  /* --- Transitions --- */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4.5rem 0;
  position: relative;
}

.section-header {
  max-width: 650px;
  margin-bottom: 2.5rem;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

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

/* --- Button System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--text-main);
  border-color: var(--border-hover);
  background-color: var(--bg-secondary);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
  border: 1px solid var(--bg-dark);
}

.btn-dark:hover {
  background-color: #1E293B;
  border-color: #1E293B;
}

/* --- Navigation Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand span {
  color: var(--primary);
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.navbar-link:hover, .navbar-link.active {
  color: var(--primary);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-main);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  background-color: var(--bg-primary);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-summary {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-specialization {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tech-chip {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 4px;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  width: 100%;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-badge i {
  color: var(--primary);
}

.hero-badge .status-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10B981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
  z-index: 2;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-pattern {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--border-hover) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 1;
  border-radius: 12px;
  opacity: 0.6;
}

.floating-icon {
  position: absolute;
  background: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  font-size: 1.25rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-icon.fi-1 { top: 15%; left: -24px; animation-delay: 0s; color: #3776AB; }
.floating-icon.fi-2 { bottom: 25%; right: -24px; animation-delay: 1.5s; color: #FF6F00; }
.floating-icon.fi-3 { bottom: 10%; left: 10%; animation-delay: 3s; color: #2563EB; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.signature-container {
  margin-top: 1.5rem;
  z-index: 2;
  text-align: center;
}

.signature-svg {
  width: 150px;
  height: auto;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
}

.about-intro h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-bio {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.about-bio p {
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.about-stat-item {
  background-color: var(--bg-card);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.about-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-role-card {
  background-color: var(--bg-card);
  padding: 1.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.about-role-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.about-role-icon {
  background-color: var(--bg-secondary);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.about-role-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.about-role-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  background-color: var(--primary);
  height: 0%;
  transition: height 0.5s ease-out;
}

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

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

.timeline-dot {
  position: absolute;
  left: 17px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 3px solid var(--border-hover);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item.active .timeline-dot {
  border-color: var(--primary);
  background-color: var(--primary);
}

.timeline-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item.active .timeline-content {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-md);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.company-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.company-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.company-logo.sc {
  background-color: #FFF5F5;
  color: #E53E3E;
}

.company-logo.btcl {
  background-color: #E6FFFA;
  color: #319795;
}

.company-logo.ci {
  background-color: #EBF8FF;
  color: #3182CE;
}

.job-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.company-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.job-period {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.job-responsibilities {
  list-style: none;
  margin-bottom: 1.5rem;
}

.job-responsibilities li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.job-responsibilities li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.job-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --- Skills Dashboard Section --- */
.skills-dashboard {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 500px;
}

.skills-tabs {
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background-color: rgba(0, 0, 0, 0.03);
  color: var(--text-main);
}

.tab-btn.active {
  background-color: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.skills-content-panel {
  padding: 2.5rem;
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  align-content: flex-start;
}

.skills-content-panel.active {
  display: grid;
}

.skill-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.skill-card:hover {
  border-color: var(--primary-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.skill-icon {
  font-size: 1.5rem;
  color: var(--primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.skill-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.skill-stars {
  color: #FBBF24; /* Amber yellow */
  font-size: 0.8rem;
}

.skill-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.skill-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--bg-dark) transparent transparent transparent;
}

.skill-card:hover .skill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Current Venture Section --- */
.venture-showcase {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.venture-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.venture-mission {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.venture-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.venture-stat {
  background-color: var(--bg-card);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.venture-stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.venture-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

.venture-visual {
  position: relative;
}

.venture-mockup {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.mockup-header {
  height: 36px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #E2E8F0;
}

.mockup-dot.red { background-color: #EF4444; }
.mockup-dot.yellow { background-color: #F59E0B; }
.mockup-dot.green { background-color: #10B981; }

.mockup-address {
  height: 20px;
  width: 180px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin: 0 auto;
  font-size: 0.65rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-body {
  padding: 1.5rem;
  text-align: center;
  background: radial-gradient(circle at top right, #EFF6FF, transparent);
}

.venture-mockup-logo {
  width: 120px;
  margin-bottom: 1rem;
}

.mockup-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 auto;
}

/* --- Featured Projects (Case Studies) --- */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.project-accordion-header {
  display: none;
}

.project-case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.project-case-study.reverse {
  grid-template-columns: 1fr 1fr;
}

.project-case-study.reverse .project-info {
  grid-column: 2;
}

.project-case-study.reverse .project-visual-wrapper {
  grid-column: 1;
  grid-row: 1;
}

.project-case-study.full-width {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.project-case-study.full-width .project-visual-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.project-case-study.grid-style {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.project-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.project-name {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.project-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.project-challenge-result {
  margin-top: 1rem;
  padding: 1rem;
  background-color: var(--bg-secondary);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.project-challenge-result strong {
  display: block;
  margin-bottom: 0.25rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.project-links {
  display: flex;
  gap: 1.25rem;
}

.project-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.project-visual-wrapper {
  width: 100%;
}

.browser-window {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition);
}

.browser-window:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.browser-content {
  position: relative;
  overflow: hidden;
}

.browser-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Impact Section --- */
.impact {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  text-align: center;
}

.impact-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.impact-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background-color: var(--border-color);
}

.impact-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.impact-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* --- Interactive Journey Timeline --- */
.journey-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.journey-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.journey-item:hover {
  border-color: var(--border-hover);
}

.journey-trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.journey-title-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.journey-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  min-width: 110px;
  text-align: center;
}

.journey-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.journey-chevron {
  color: var(--text-light);
  transition: transform 0.3s;
}

.journey-item.active .journey-chevron {
  transform: rotate(180deg);
}

.journey-panel {
  display: none;
  padding: 0 2rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.journey-item.active .journey-panel {
  display: block;
}

.journey-panel p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.journey-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --- Leadership Section --- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.leadership-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.leadership-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.leadership-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.leadership-role {
  font-size: 1.25rem;
  font-weight: 700;
}

.leadership-org {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

.leadership-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background-color: var(--bg-secondary);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.ld-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.ld-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Contact & Booking --- */
.contact-section {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 5rem 0;
}

.contact-section h2, .contact-section h3, .contact-section p {
  color: var(--text-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-desc {
  color: var(--text-light) !important;
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.contact-availability {
  margin-bottom: 2.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-badge .status-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-item i {
  color: var(--primary-accent);
  width: 20px;
}

.contact-booking {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.booking-btn {
  color: var(--primary-accent);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-btn:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  background-color: rgba(255, 255, 255, 0.08);
}

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

/* --- Footer --- */
.footer {
  background-color: #0A0F1D;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem 0;
  color: var(--text-light);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand span {
  color: var(--primary);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-link {
  font-size: 0.85rem;
}

.footer-link:hover {
  color: white;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-social {
  font-size: 1.1rem;
}

.footer-social:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* --- Achievements --- */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.achievement-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.achievement-icon {
  font-size: 1.5rem;
  color: #FBBF24;
}

.achievement-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.achievement-org {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Photography Section --- */
.photography-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.photo-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--border-color);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.photo-card:hover img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: var(--transition-fast);
}

.photo-card:hover .photo-overlay {
  opacity: 1;
}

.photo-title {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
}

/* --- Blog Section --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.blog-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.blog-card-img {
  aspect-ratio: 16/9;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.blog-card-img.b1 { background: radial-gradient(circle, #E0F2FE, #BAE6FD); }
.blog-card-img.b2 { background: radial-gradient(circle, #DCFCE7, #BBF7D0); }
.blog-card-img.b3 { background: radial-gradient(circle, #F3E8FF, #E9D5FF); }

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-readmore {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-visual {
    order: 2;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .project-case-study, .project-case-study.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .project-case-study.reverse .project-visual-wrapper {
    grid-column: auto;
    grid-row: auto;
  }

  .project-case-study.reverse .project-info {
    grid-column: auto;
    grid-row: auto;
  }
  
  .venture-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
  
  .skills-dashboard {
    grid-template-columns: 1fr;
  }
  
  .skills-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .tab-btn {
    white-space: nowrap;
  }
  
  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .impact-item:nth-child(3)::after {
    display: none;
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-headline {
    font-size: 2.25rem;
  }
  
  /* Make Hero visual compact on mobile */
  .hero-image-wrapper {
    max-width: 270px;
    margin-top: 1rem;
  }
  
  .floating-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .floating-icon.fi-1 { top: 15%; left: -10px; }
  .floating-icon.fi-2 { bottom: 25%; right: -10px; }
  .floating-icon.fi-3 { bottom: 10%; left: 15%; }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .navbar-menu .btn {
    width: 100%;
  }

  /* Optimize Project Gaps on Mobile */
  .projects-list {
    gap: 3.5rem;
  }
  .project-case-study {
    gap: 1.5rem;
  }
  .project-challenge-result {
    padding: 0.85rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .project-desc {
    margin-bottom: 1rem;
  }
  .project-tags {
    margin-bottom: 1.25rem;
  }
  
  /* Skills Content Panel: 2 Columns on Mobile to minimize vertical height */
  .skills-content-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
  .skill-card {
    padding: 0.85rem;
  }
  .skill-card-header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .skill-icon {
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
  }
  .skill-name {
    font-size: 0.85rem;
  }
  .skill-meta {
    font-size: 0.75rem;
  }

  /* Current Venture Mobile padding and stats scale down */
  .venture-showcase {
    padding: 1.5rem;
    gap: 2rem;
  }
  .venture-mission {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .venture-stats {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .venture-stat {
    padding: 0.85rem 0.5rem;
  }
  .venture-stat-val {
    font-size: 1.5rem;
  }
  .venture-stat-lbl {
    font-size: 0.7rem;
  }

  /* Leadership Cards: Horizontal scrolling x-axis layout to save massive height */
  .leadership-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem;
    padding: 0.5rem 0.25rem 1.5rem 0.25rem;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE 10+ */
  }
  .leadership-grid::-webkit-scrollbar {
    display: none !important; /* Safari and Chrome */
  }
  .leadership-card {
    min-width: 85% !important;
    scroll-snap-align: start !important;
    flex-shrink: 0 !important;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .impact-item::after {
    display: none;
  }
  
  .journey-trigger {
    padding: 1.25rem 1.5rem;
  }
  
  .journey-title-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .photography-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Experience Timeline Accordion on Mobile */
  .timeline-container {
    padding: 1rem 0 !important;
  }
  .timeline-line,
  .timeline-progress {
    display: none !important;
  }
  .timeline-item {
    padding-left: 0 !important;
    margin-bottom: 1rem !important;
  }
  .timeline-dot {
    display: none !important;
  }
  .timeline-content {
    padding: 1.25rem !important;
  }
  .timeline-header {
    cursor: pointer;
    position: relative;
    padding-right: 2rem !important;
    margin-bottom: 0 !important;
  }
  .timeline-header::after {
    content: "\f078" !important; /* chevron-down */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    transition: transform 0.3s ease !important;
  }
  .timeline-item.active .timeline-header::after {
    transform: translateY(-50%) rotate(180deg) !important;
    color: var(--primary) !important;
  }
  .timeline-item.active .timeline-header {
    margin-bottom: 1.25rem !important;
  }
  
  /* Collapsing details by default on mobile */
  .timeline-item .job-responsibilities,
  .timeline-item .job-tech {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
  }
  .timeline-item.active .job-responsibilities {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 1.5rem;
  }
  .timeline-item.active .job-tech {
    max-height: 500px;
    opacity: 1;
  }

  /* Projects Accordion on Mobile */
  .project-accordion-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem !important;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    padding-right: 3rem !important;
    transition: all 0.3s ease;
  }
  .project-accordion-header .project-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    display: block;
  }
  .project-accordion-header .project-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
  }
  .project-accordion-header::after {
    content: "\f078" !important; /* chevron-down */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 1.25rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    transition: transform 0.3s ease !important;
  }
  .project-case-study.active .project-accordion-header::after {
    transform: translateY(-50%) rotate(180deg) !important;
    color: var(--primary) !important;
  }
  .project-case-study.active .project-accordion-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--primary-accent);
    background-color: var(--bg-secondary);
  }

  .project-info > .project-category,
  .project-info > .project-name {
    display: none !important;
  }

  .project-case-study .project-visual-wrapper,
  .project-case-study .project-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .project-case-study.active .project-visual-wrapper {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .project-case-study.active .project-info {
    max-height: 1500px;
    opacity: 1;
    padding: 0 1.25rem 1.25rem 1.25rem !important;
  }
  .project-case-study {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: block !important; /* stack elements vertically */
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    transition: border-color 0.3s ease;
  }
  .project-case-study.active {
    border-color: var(--primary-accent);
    box-shadow: var(--shadow-md);
  }

  /* Leadership Accordion on Mobile */
  .leadership-grid {
    display: block !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
  }
  .leadership-card {
    min-width: 100% !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
    scroll-snap-align: none !important;
    padding: 0 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .leadership-header {
    cursor: pointer;
    position: relative;
    padding: 1.25rem !important;
    padding-right: 3rem !important;
    background-color: var(--bg-card);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }
  .leadership-header::after {
    content: "\f078" !important; /* chevron-down */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    position: absolute !important;
    right: 1.25rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    transition: transform 0.3s ease !important;
  }
  .leadership-card.active .leadership-header::after {
    transform: translateY(-50%) rotate(180deg) !important;
    color: var(--primary) !important;
  }
  .leadership-card.active .leadership-header {
    border-bottom-color: var(--border-color) !important;
    background-color: var(--bg-secondary);
  }
  .leadership-card .leadership-stats,
  .leadership-card .job-responsibilities {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease-in-out;
  }
  .leadership-card.active .leadership-stats {
    max-height: 200px;
    opacity: 1;
    padding: 1.25rem !important;
    border-bottom: 1px solid var(--border-color);
  }
  .leadership-card.active .job-responsibilities {
    max-height: 500px;
    opacity: 1;
    padding: 1.25rem !important;
  }

  /* Footer Mobile Refinements */
  .footer-grid {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }
  .footer-nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem 1.5rem !important;
    padding: 0 !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
}