/* ==========================================================================
   MEHMET ŞAHİN – OFFICIAL PORTFOLIO STYLESHEET
   Senior Art Director & Creative Director | Ph.D. Candidate
   Aesthetic: Elite, Minimalist, White / Light Luxury, Navy (#0c1c49) & Gold (#bf8c33)
   ========================================================================== */

:root {
  /* Core Palette */
  --primary: #0c1c49;
  --primary-dark: #07102b;
  --primary-light: #162c6d;
  --primary-glow: rgba(12, 28, 73, 0.08);

  --accent: #bf8c33;
  --accent-light: #dfb05a;
  --accent-dark: #9a6f23;
  --accent-glow: rgba(191, 140, 51, 0.18);

  /* Backgrounds & Surfaces */
  --bg-main: #ffffff;
  --bg-subtle: #f8f9fc;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfd;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-dark: rgba(12, 28, 73, 0.94);

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #526075;
  --text-dim: #8c9ba5;
  --text-inverse: #ffffff;

  /* Borders & Dividers */
  --border-light: #e8ecf3;
  --border-subtle: #f0f3f8;
  --border-accent: rgba(191, 140, 51, 0.35);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(12, 28, 73, 0.04);
  --shadow-md: 0 8px 24px rgba(12, 28, 73, 0.07);
  --shadow-lg: 0 20px 48px rgba(12, 28, 73, 0.1);
  --shadow-xl: 0 32px 72px rgba(12, 28, 73, 0.14);
  --shadow-gold: 0 12px 32px rgba(191, 140, 51, 0.22);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', serif;

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--accent);
  color: #ffffff;
}

/* Typography Helpers */
.no-break {
  white-space: nowrap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

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

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

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

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

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

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

/* Section Header Structure */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.1rem;
  background: rgba(191, 140, 51, 0.1);
  border: 1px solid rgba(191, 140, 51, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

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

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(12, 28, 73, 0.2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 28, 73, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #d49f42 100%);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #a87928 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(191, 140, 51, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(191, 140, 51, 0.05);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 236, 243, 0.75);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.25rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px rgba(12, 28, 73, 0.05);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-toggle-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 7.5rem 0 4.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
  overflow: hidden;
}

.hero-bg-glow-1 {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(191, 140, 51, 0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.hero-bg-glow-2 {
  position: absolute;
  bottom: 5%;
  left: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(12, 28, 73, 0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid rgba(191, 140, 51, 0.3);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(191, 140, 51, 0.1);
  margin-bottom: 1.25rem;
}

.hero-badge-icon {
  width: 18px;
  height: 18px;
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.3rem, 3.9vw, 3.75rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-title-highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #e2a845 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #047857;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}

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

/* Hero Visual Presentation Card */
.hero-visual-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero-emblem-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  padding: 1.35rem;
  box-shadow: 0 16px 36px rgba(12, 28, 73, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-emblem-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.hero-card-role {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-tag-item {
  padding: 0.3rem 0.8rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   METRICS & STATS BAR
   ========================================================================== */
.stats-section {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 0;
}

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

.stat-card {
  text-align: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--border-subtle);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   PORTFOLIO & WORKS SHOWCASE
   ========================================================================== */
.works-section {
  background: var(--bg-subtle);
  padding: 7rem 0;
}

.works-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(12, 28, 73, 0.25);
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  background: rgba(12, 28, 73, 0.08);
  color: var(--primary);
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.search-input-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(191, 140, 51, 0.15);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 1.1rem;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Projects Grid Layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(191, 140, 51, 0.4);
}

.project-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.project-year-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.65rem;
  background: rgba(12, 28, 73, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
}

.project-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-client-line {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.project-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-meta-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.project-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.project-card:hover .project-view-btn {
  color: var(--accent-dark);
}

.project-view-btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.project-card:hover .project-view-btn svg {
  transform: translateX(4px);
}

/* ==========================================================================
   PHILOSOPHY & QUOTE SECTION
   ========================================================================== */
.philosophy-section {
  position: relative;
  background: var(--primary);
  color: #ffffff;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
}

.philosophy-bg-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(191, 140, 51, 0.18) 0%, rgba(12,28,73,0) 70%);
  pointer-events: none;
}

.philosophy-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
}

.quote-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
  color: var(--accent);
  opacity: 0.85;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.philosophy-divider {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2rem;
}

.philosophy-author {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.philosophy-role {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   DISCIPLINES & SERVICES
   ========================================================================== */
.disciplines-section {
  background: #ffffff;
  padding: 7rem 0;
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.discipline-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.discipline-card:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(191, 140, 51, 0.4);
}

.discipline-icon-box {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.discipline-card:hover .discipline-icon-box {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.05);
}

.discipline-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.discipline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT & ACADEMIC JOURNEY
   ========================================================================== */
.about-section {
  background: var(--bg-subtle);
  padding: 7rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.about-bio-col {
  display: flex;
  flex-direction: column;
}

.about-bio-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-academic-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
}

.academic-badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(191, 140, 51, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.academic-badge-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
}

.academic-badge-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Timeline Milestones */
.timeline-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border-light);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -2.45rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(191, 140, 51, 0.3);
}

.timeline-year {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.timeline-role {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.timeline-inst {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ & AEO / GEO (ANSWER ENGINE OPTIMIZATION)
   ========================================================================== */
.faq-section {
  background: #ffffff;
  padding: 7rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition-normal);
}

.faq-card:hover {
  border-color: rgba(191, 140, 51, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT & PROJECT BRIEF
   ========================================================================== */
.contact-section {
  background: var(--bg-subtle);
  padding: 7rem 0;
}

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

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(191, 140, 51, 0.15);
}

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Contact Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

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

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.channel-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.channel-val:hover {
  color: var(--accent-dark);
}

.remote-badge-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.remote-badge-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.remote-badge-desc {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.6;
}

/* ==========================================================================
   FLOATING WHATSAPP WIDGET
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-width: 220px;
  transform: translateX(10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.wa-tt-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.wa-tt-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CASE STUDY MODAL (LIGHTBOX)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 16, 43, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-content-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.94) translateY(20px);
  transition: all var(--transition-normal);
}

.modal-overlay.active .modal-content-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12, 28, 73, 0.08);
  border: none;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-hero-cover {
  width: 100%;
  height: 380px;
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--bg-subtle);
}

.modal-body {
  padding: 3rem;
}

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

.modal-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 2rem;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.spec-item-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.spec-item-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.modal-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.modal-desc-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.modal-deliverables-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.deliverable-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.modal-tools-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tool-tag {
  padding: 0.35rem 0.9rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary);
  color: #ffffff;
  padding: 5.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.35rem;
}

.footer-brand-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 380px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-link {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--accent-light);
}

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

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.back-to-top-btn:hover {
  color: var(--accent-light);
}
