/* ==========================================================================
   NİDA KILIÇASLAN AKTAŞ - APPLE-STYLE PARALLAX & OPAQUE CORPORATE STYLES
   Design Aesthetic: Apple Pro Precision, Matte Obsidian Metal & Pure Emerald
   ========================================================================== */

/* --- CSS Variables & Theme System --- */
:root {
  /* Matte Opaque Corporate Dark Theme (Default) */
  --bg-primary: #04060a;
  --bg-secondary: #0b0f17;
  --bg-card: #121722;
  --bg-card-hover: #181f2e;
  --bg-inner-card: #080b12;

  --border-card: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-cyan: #06b6d4;

  --gradient-apple-text: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  --gradient-emerald-apple: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-emerald: 0 10px 30px -5px rgba(16, 185, 129, 0.3);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Overrides (Apple Light Style) */
body.light-theme {
  --bg-primary: #f5f5f7;
  --bg-secondary: #e8e8ed;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f5;
  --bg-inner-card: #f8fafc;

  --border-card: rgba(0, 0, 0, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.5);

  --text-main: #1d1d1f;
  --text-muted: #515154;
  --text-dim: #86868b;

  --gradient-apple-text: linear-gradient(180deg, #1d1d1f 0%, #424245 100%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
  --shadow-emerald: 0 10px 25px -5px rgba(16, 185, 129, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

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

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Layout Container --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 120px 0;
  position: relative;
}

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

/* --- Scroll Progress Bar --- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-emerald-apple);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.text-apple-gradient {
  background: var(--gradient-emerald-apple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  margin-bottom: 70px;
}

.section-header.center {
  text-align: center;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent-emerald);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 18px;
  color: var(--text-main);
  letter-spacing: -1px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}

.title-bar {
  width: 60px;
  height: 4px;
  background: var(--gradient-emerald-apple);
  margin: 20px auto 0;
  border-radius: var(--radius-full);
}

/* --- Opaque Corporate Card --- */
.opaque-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.opaque-card:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-emerald);
}

.opaque-inner-card {
  background: var(--bg-inner-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
}

/* --- Scroll Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- Apple-Style Buttons --- */
.badge-pill, .hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 25px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  font-size: 1rem;
}

.btn-apple-primary {
  background: var(--gradient-emerald-apple);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-apple-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn-apple-outline {
  background: transparent;
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
}

.btn-apple-outline:hover {
  background: var(--accent-emerald);
  color: #ffffff;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  transition: background-color var(--transition-normal), height var(--transition-normal);
}

.navbar.scrolled {
  height: 70px;
  background: rgba(4, 6, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-card);
}

body.light-theme .navbar.scrolled {
  background: rgba(245, 245, 247, 0.92);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-banner-img {
  height: 52px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.brand-logo:hover .brand-banner-img {
  transform: scale(1.03);
}

/* Dark Theme: show dark banner, hide light banner */
body.dark-theme .light-banner {
  display: none !important;
}
body.dark-theme .dark-banner {
  display: block !important;
}

/* Light Theme: show light banner, hide dark banner */
body.light-theme .dark-banner {
  display: none !important;
}
body.light-theme .light-banner {
  display: block !important;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-emerald);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 4-Language Switcher Buttons */
.lang-selector {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
  background: var(--accent-emerald);
  color: #ffffff;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
}

/* --- SECTION 1: CINEMATIC APPLE PARALLAX HERO HEADER BANNER --- */
.hero-parallax-section {
  padding-top: 170px;
  padding-bottom: 110px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

/* Header Banner Image Background Layer */
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/banner.webp');
  background-position: center 25%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  opacity: 0.38;
  filter: contrast(1.15) brightness(0.9);
  transition: opacity var(--transition-normal), filter var(--transition-normal);
}

/* Night / Dark Mode Radial & Gradient Overlay */
.hero-parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.18) 0%, rgba(4, 6, 10, 0.7) 60%, var(--bg-primary) 100%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.55) 0%, rgba(4, 6, 10, 0.85) 60%, var(--bg-primary) 100%);
  pointer-events: none;
}

/* Light Mode Custom Styling for Header Banner */
body.light-theme .hero-parallax-bg {
  opacity: 0.22;
  filter: contrast(1.1) brightness(1.08) saturate(0.9);
}

body.light-theme .hero-parallax-section::before {
  background: 
    radial-gradient(circle at 50% 35%, rgba(16, 185, 129, 0.12) 0%, rgba(245, 245, 247, 0.7) 60%, var(--bg-primary) 100%),
    linear-gradient(180deg, rgba(245, 245, 247, 0.45) 0%, rgba(245, 245, 247, 0.95) 100%);
}

.hero-parallax-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 25px;
  max-width: 950px;
}

.hero-subline {
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* Hero Profile Card with Parallax Frame */
.hero-cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 35px;
}

/* --- SECTION 2: DEDICATED ABOUT ME SPOTLIGHT --- */
.about-spotlight-section {
  padding: 120px 0;
}

.about-spotlight-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  padding: 50px;
  align-items: center;
}

.spotlight-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border-card);
  padding-right: 40px;
}

.profile-img-frame {
  width: 240px;
  height: 300px;
  border-radius: var(--radius-lg);
  padding: 6px;
  background: var(--gradient-emerald-apple);
  box-shadow: var(--shadow-emerald), 0 20px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.profile-img-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-emerald), 0 25px 50px rgba(16, 185, 129, 0.25);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
}

.profile-name {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.profile-role-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 20px;
}

.contact-mini-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spotlight-bio-col .bio-title {
  font-size: 2rem;
  margin-bottom: 15px;
}

.spotlight-bio-col .bio-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-inner-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
}

.apple-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
  max-width: 850px;
}

.apple-stat-card {
  padding: 30px 20px;
  text-align: center;
}

.apple-stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1;
  margin-bottom: 8px;
}

.apple-stat-lbl {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- SECTIONS 2 & 3: PARALLAX SHOWCASE ITEM --- */
.parallax-showcase-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.showcase-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.apple-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--accent-emerald);
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
}

.apple-section-title {
  font-size: 2.6rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.apple-section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.7;
}

.apple-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feat-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feat-icon {
  font-size: 1.8rem;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
}

.feat-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feat-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.img-card-frame {
  padding: 12px;
  overflow: hidden;
}

.img-card-frame img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.img-card-frame:hover img {
  transform: scale(1.04);
}

.card-caption {
  padding: 18px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-caption strong {
  font-size: 1.05rem;
}

.card-caption small {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* --- SECTION 4: CORPORATE CARDS GRID --- */
.corporate-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.corporate-card {
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-number-tag {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.25);
  position: absolute;
  top: 25px;
  right: 30px;
}

.corporate-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  padding-right: 40px;
}

.corporate-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pills span {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-inner-card);
  border: 1px solid var(--border-card);
  color: var(--accent-emerald);
}

/* --- SECTION 5: PORTFOLIO GALLERY --- */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--bg-primary);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
}

.project-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-specs-mini {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 25px;
}

/* --- SECTION 6: INTERACTIVE SIMULATOR --- */
.simulator-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 50px;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.range-slider {
  width: 100%;
  accent-color: var(--accent-emerald);
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}

.form-select, .form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-inner-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--accent-emerald);
}

.sim-results {
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-title {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: var(--accent-emerald);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.metric-card {
  background: var(--bg-card);
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
}

.metric-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.metric-value.highlight {
  color: var(--accent-emerald);
}

.feasibility-status {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 20px;
  border-radius: var(--radius-sm);
}

.status-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-emerald-apple);
  transition: width 0.4s ease;
}

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

/* --- SECTION 7: PROCESS TIMELINE --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.timeline-step {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--gradient-emerald-apple);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-emerald);
}

.step-content {
  padding: 30px 35px;
  flex-grow: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* --- SECTION 8: EXPERIENCE TIMELINE --- */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.exp-item {
  display: block;
  padding: 35px 40px;
}

.exp-date {
  font-weight: 800;
  color: var(--accent-emerald);
  font-size: 1.1rem;
}

.exp-details h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.company-name {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 15px;
}

.exp-details p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --- SECTION 9: EDUCATION --- */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.edu-card {
  padding: 40px;
}

.edu-card h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: var(--accent-emerald);
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.edu-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.edu-list strong {
  color: var(--accent-emerald);
  font-size: 1rem;
  white-space: nowrap;
}

.edu-list h4 {
  font-size: 1.15rem;
}

.edu-list p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.train-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.train-list li {
  display: flex;
  flex-direction: column;
  background: var(--bg-inner-card);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
}

.train-list strong {
  font-size: 0.98rem;
  color: var(--accent-emerald);
}

.train-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- SECTION 10: CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.contact-info {
  padding: 45px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.6rem;
  padding: 12px;
  background: var(--bg-inner-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
}

.info-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.info-item p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.contact-form-container {
  padding: 45px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* Honeypot - kept out of the layout and out of the accessibility tree. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.form-feedback.success {
  color: var(--accent-emerald);
}

.form-feedback.error {
  color: #ff6b6b;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-card);
  padding: 60px 0 35px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-emerald);
}

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

/* --- MODAL --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 45px;
  z-index: 2001;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-headline {
    font-size: 3.2rem;
  }

  .hero-profile-hero-card {
    flex-direction: column;
    text-align: center;
  }

  .showcase-grid, .showcase-grid.reverse {
    grid-template-columns: 1fr;
  }

  .about-spotlight-card {
    grid-template-columns: 1fr;
    padding: 35px 25px;
  }

  .spotlight-avatar-col {
    border-right: none;
    border-bottom: 1px solid var(--border-card);
    padding-right: 0;
    padding-bottom: 30px;
  }

  .simulator-box, .contact-grid, .edu-grid {
    grid-template-columns: 1fr;
  }
}

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

  .apple-stats-row {
    grid-template-columns: 1fr;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 40px 20px;
    transition: left var(--transition-normal);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .form-row, .exp-item {
    grid-template-columns: 1fr;
  }
}
