/* ==========================================================================
   LEADYFY STUDIO — REFINED DESIGN SYSTEM
   Role: Senior UI/UX & Full-Stack Craft
   Palette: Light Mode (Pure White, Deep Obsidian, Radiant Leadyfy Yellow)
   Icons: Phosphor Web Icons
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Signature Brand Accent */
  --yellow-primary: #FFB800;
  --yellow-hover: #F59E0B;
  --yellow-subtle: #FFFBEB;
  --yellow-border: #FDE68A;

  /* Neutrals */
  --white: #FFFFFF;
  --bg-page: #FFFFFF;
  --bg-canvas: #FAFAFB;
  --bg-surface: #F4F5F7;
  --bg-modal-backdrop: rgba(10, 10, 10, 0.6);

  /* Typography */
  --text-black: #0A0A0A;
  --text-dark: #1E293B;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;

  /* Borders & Lines */
  --border-light: #E5E7EB;
  --border-medium: #D1D5DB;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  --shadow-yellow: 0 8px 24px -4px rgba(255, 184, 0, 0.35);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-black);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

button, input, textarea, select {
  font: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.brand-logo-wrap {
  display: flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--text-black);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--yellow-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-black);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.nav-phone:hover {
  border-color: var(--yellow-primary);
  background-color: var(--yellow-subtle);
}

.nav-phone i {
  color: var(--yellow-hover);
  font-size: 1rem;
}

/* Bulletproof CSS 3-Bar Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-black);
  transition: all 0.25s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--yellow-primary);
  color: var(--text-black);
  border-color: var(--yellow-primary);
}

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

.btn-dark {
  background-color: var(--text-black);
  color: var(--white);
  border-color: var(--text-black);
}

.btn-dark:hover {
  background-color: #1F2937;
  border-color: #1F2937;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--text-black);
  background-color: var(--bg-surface);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 85px 0 65px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(255, 184, 0, 0.08) 0%, transparent 60%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--yellow-subtle);
  border: 1px solid var(--yellow-border);
  color: var(--text-black);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-tag i {
  color: var(--yellow-hover);
}

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  font-weight: 800;
  color: var(--text-black);
  max-width: 960px;
  margin: 0 auto 18px;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.hero-title span.accent {
  color: var(--text-black);
  position: relative;
  display: inline-block;
}

.hero-title span.accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 30%;
  background-color: var(--yellow-primary);
  z-index: -1;
  border-radius: 3px;
  opacity: 0.7;
}

.hero-desc {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 85px 0;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-canvas);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow-hover);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-black);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
  margin-top: 24px;
}

.about-intro-text {
  font-size: 1.12rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-body-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-black);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--yellow-subtle);
  border: 1px solid var(--yellow-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-black);
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.pillar-text p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   Projects / Work Section
   ========================================================================== */
.projects-section {
  padding: 85px 0;
  border-top: 1px solid var(--border-light);
  background-color: var(--white);
}

.projects-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 18px;
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background-color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--yellow-primary);
  color: var(--text-black);
}

.filter-btn.active {
  background-color: var(--text-black);
  color: var(--white);
  border-color: var(--text-black);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow-primary);
  box-shadow: var(--shadow-lg);
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0F172A;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.work-tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.work-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-domain {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.work-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 6px;
  line-height: 1.3;
}

.work-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-black);
}

.work-link:hover {
  color: var(--yellow-hover);
}

.work-link i {
  transition: transform var(--transition);
}

.work-link:hover i {
  transform: translate(2px, -2px);
}

.work-btn-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition);
}

.work-btn-modal:hover {
  background-color: var(--yellow-primary);
  border-color: var(--yellow-primary);
  color: var(--text-black);
}

/* ==========================================================================
   Contact Section — Refined & Decreased Icon Sizes
   ========================================================================== */
.contact-section {
  padding: 85px 0;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-canvas);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-col h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}

.contact-info-col p.lead {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 26px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

/* Decreased & Sleeker Contact Rows */
.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.contact-detail-row:hover {
  border-color: var(--yellow-primary);
  transform: translateY(-2px);
}

/* Decreased Icon Box Size */
.contact-row-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--yellow-subtle);
  border: 1px solid var(--yellow-border);
  color: var(--text-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-row-text h6 {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-row-text a, .contact-row-text p {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-black);
  line-height: 1.3;
}

.contact-row-text a:hover {
  color: var(--yellow-hover);
}

.contact-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-actions-row .btn {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn-whatsapp-direct {
  background-color: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-weight: 700;
}

.btn-whatsapp-direct:hover {
  background-color: #1EBE5D;
  border-color: #1EBE5D;
  transform: translateY(-2px);
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.contact-form-card p.form-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-black);
  font-size: 0.88rem;
  transition: all var(--transition);
}

.form-input:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--yellow-primary);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.2);
}

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

.form-feedback {
  display: none;
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 45px 0 25px;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.footer-nav {
  display: flex;
  gap: 22px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--text-black);
}

.footer-contact-summary {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-contact-summary a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-contact-summary a:hover {
  color: var(--yellow-hover);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Project Detail Lightbox / Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-modal-backdrop);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.modal-box {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}

.modal-close:hover {
  background-color: var(--text-black);
  color: var(--white);
}

.modal-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0F172A;
  overflow: hidden;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-content {
  padding: 26px;
}

.modal-meta-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.modal-category-tag {
  background-color: var(--bg-surface);
  color: var(--text-black);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.modal-spec-chip {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-light);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Floating WhatsApp Button — Clean Minimal Circle Icon
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  border: 2px solid var(--white);
}

.whatsapp-float-btn:hover {
  background-color: #1EBE5D;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Header Optimization
   ========================================================================== */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  /* Hide the extra phone icon button in mobile header */
  .nav-phone {
    display: none !important;
  }

  /* Make header action compact */
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }

  /* Show and size mobile hamburger button */
  .mobile-menu-btn {
    display: flex !important;
    width: 38px;
    height: 38px;
  }

  /* Robust, guaranteed mobile dropdown navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 20px 24px;
    gap: 12px;
    border-bottom: 2px solid var(--yellow-primary);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    z-index: 99999;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    font-size: 1.05rem;
    font-weight: 700;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-black);
  }

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

  .about-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
