/* ============================================
   Aas Mohd — Portfolio Stylesheet
   ============================================ */

/* ── CSS Variables — Dark Theme (default) ── */
:root,
[data-theme="dark"] {
  --bg-primary: #2b2b32;
  --bg-secondary: #32323a;
  --bg-card: #3a3a44;
  --bg-card-hover: #42424e;

  --text-primary: #f2f2f6;
  --text-secondary: #b4b4c0;
  --text-muted: #888894;

  --accent: #2ba3f3;
  --accent-light: #8b85ff;
  --accent-glow: rgba(108, 99, 255, 0.28);
  --accent-subtle: rgba(108, 99, 255, 0.12);
  --accent-border: rgba(108, 99, 255, 0.22);

  --success: #34d399;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --header-scrolled: rgba(43, 43, 50, 0.88);
  --overlay: rgba(30, 30, 36, 0.78);
  --texture-opacity: 0.045;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 36px var(--accent-glow);
}

/* ── Light Theme — Parrot Green & White ── */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f4fbf6;
  --bg-card: #ffffff;
  --bg-card-hover: #eef9f1;

  --text-primary: #1a2e1f;
  --text-secondary: #3d5c45;
  --text-muted: #6b8572;

  --accent: #00b050;
  --accent-light: #00c85c;
  --accent-glow: rgba(0, 176, 80, 0.22);
  --accent-subtle: rgba(0, 176, 80, 0.1);
  --accent-border: rgba(0, 176, 80, 0.25);

  --success: #00b050;
  --border: rgba(0, 80, 40, 0.1);
  --border-hover: rgba(0, 176, 80, 0.28);

  --header-scrolled: rgba(255, 255, 255, 0.92);
  --overlay: rgba(255, 255, 255, 0.82);
  --texture-opacity: 0.035;

  --shadow-sm: 0 2px 10px rgba(0, 80, 40, 0.08);
  --shadow-md: 0 8px 28px rgba(0, 80, 40, 0.12);
  --shadow-glow: 0 0 32px var(--accent-glow);
  color-scheme: light;
}

:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  color-scheme: dark;
}

/* ── Textured page background ── */
body {
  position: relative;
  background-color: var(--bg-primary);
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: color var(--transition), background-color var(--transition);
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-primary);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 20%, var(--accent-subtle) 0%, transparent 42%),
    radial-gradient(circle at 80% 80%, var(--accent-subtle) 0%, transparent 38%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(128, 128, 128, var(--texture-opacity)) 2px,
      rgba(128, 128, 128, var(--texture-opacity)) 3px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(128, 128, 128, calc(var(--texture-opacity) * 0.6)) 2px,
      rgba(128, 128, 128, calc(var(--texture-opacity) * 0.6)) 3px
    );
  background-size: 180px 180px, 100% 100%, 100% 100%, 4px 4px, 4px 4px;
  transition: background-color var(--transition), background-image var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

.accent {
  color: var(--accent);
}

.section {
  padding: 100px 0;
}

.section-compact {
  padding: 56px 0;
}

.section-compact .section-header {
  margin-bottom: 32px;
}

.section-compact .section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  margin-bottom: 8px;
}

.section-compact .section-subtitle {
  font-size: 0.95rem;
}

.section-header {
  text-align: center;
  margin-bottom: 6px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 16px;
}

.btn-ghost:hover {
  color: var(--accent);
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
}

.header.scrolled {
  background: var(--header-scrolled);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

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

.nav-link.active {
  background: var(--accent-subtle);
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

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

.theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--accent-glow), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(108, 99, 255, 0.06), transparent);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.hero-image {
  display: flex;
  justify-content: center;
  
}

.hero-image-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
}

.hero-image-wrapper img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  background: var(--bg-card);
}

.hero-image-ring {
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  border: 2px solid var(--accent);
  opacity: 0.3;
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.02); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

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

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  margin-bottom: 48px;
  /* padding-top: 8px; */
  /* background-color: red; */
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-value {
  font-weight: 500;
  color: var(--text-primary);
}

.detail-value.available {
  color: var(--success);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

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

/* ── Skills ── */
.skills {
  background: var(--bg-secondary);
}

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

.skill-group {
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.skill-group:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.skill-category {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

.skill-tag {
  padding: 4px 11px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-border);
}

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

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

.project-card.featured {
  border-color: var(--accent-border);
}

.project-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
}

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

.project-link {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.project-link:hover {
  background: var(--accent-light);
  transform: scale(1.05);
}

.project-content {
  padding: 16px 18px 18px;
}

.project-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ── Experience Timeline ── */
.experience {
  background: var(--bg-secondary);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

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

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.timeline-content {
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--border-hover);
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.timeline-role {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 4px 0 2px;
}

.timeline-company {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.timeline-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 8px 0;
  line-height: 1.6;
}

.timeline-highlights {
  padding-left: 18px;
}

.timeline-highlights li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  list-style: disc;
}

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

.achievement-card {
  padding: 28px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}

.achievement-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.achievement-card:hover::before {
  opacity: 1;
}

.achievement-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.achievement-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 8px 0;
}

.achievement-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Testimonials ── */
.testimonials {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-secondary);
}

.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-value {
  font-weight: 500;
  font-size: 0.95rem;
}

a.contact-value:hover {
  color: var(--accent);
}

.contact-social-wrapper h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateX(4px);
}

/* ── Footer ── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

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

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

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem !important;
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-image-wrapper {
    width: 80%;
    height: 60%;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    border-left: 1px solid var(--border);
    transition: right 0.35s ease;
  }

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

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .section {
    padding: 120px 0;
    /* background-color: red; */
  }

  .section-compact {
    padding: 44px 0;
  }

  .section-compact .section-header {
    margin-bottom: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
