/* =============================================
   CSS RESET & BASE
============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* =============================================
   CSS CUSTOM PROPERTIES
============================================= */
:root {
  /* Light theme (default) */
  --bg: #F7F4F0;
  --bg-2: #EDE8E2;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(247, 244, 240, 0.90);
  --border: #E8E2DA;
  --text: #26211E;
  --text-muted: #736A62;
  --accent: #C85A32;
  --accent-2: #A84825;
  --accent-glow: rgba(200, 90, 50, 0.12);
  --shadow: 0 8px 32px rgba(200, 90, 50, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.07);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #1A1613;
  --bg-2: #1E1915;
  --bg-card: #241F1B;
  --bg-glass: rgba(26, 22, 19, 0.80);
  --border: rgba(255, 255, 255, 0.07);
  --text: #F4EFEA;
  --text-muted: #968B80;
  --accent: #E28762;
  --accent-2: #C8703E;
  --accent-glow: rgba(226, 135, 98, 0.20);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.40);
}

body {
  background: var(--bg);
  color: var(--text);
}

/* =============================================
   UTILITY CLASSES
============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

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

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

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: 72px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: all var(--transition);
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  background: var(--accent-glow);
  transform: rotate(15deg);
}

/* Light theme (default) — show moon icon to switch to dark */
.sun {
  display: none;
}

.moon {
  display: flex;
}

/* Dark theme — show sun icon to switch to light */
[data-theme="dark"] .sun {
  display: flex;
}

[data-theme="dark"] .moon {
  display: none;
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

/* HAMBURGER */
.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  transition: all var(--transition);
}

.mobile-link:hover {
  color: var(--accent);
  background: var(--accent-glow);
  padding-left: 1.5rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* =============================================
   HERO
============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem 5rem;
  background: var(--bg);
}

/* BLOB ANIMATIONS */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation-delay: -3s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.08);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.hero-greeting {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 1.2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* HERO ENTRY ANIMATIONS */
.animate-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.animate-hero:nth-child(1) {
  animation-delay: 0.2s;
}

.animate-hero:nth-child(2) {
  animation-delay: 0.4s;
}

.animate-hero:nth-child(3) {
  animation-delay: 0.6s;
}

.animate-hero:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* =============================================
   ABOUT
============================================= */
.about {
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}

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

.about-image-frame {
  position: relative;
  width: 300px;
  height: 300px;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  transition: transform var(--transition);
}

.about-image-placeholder:hover {
  transform: translateY(-8px) scale(1.02);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.avatar-icon {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.05em;
  z-index: 2;
  position: relative;
}

.avatar-rings {
  position: absolute;
  inset: -16px;
  z-index: 1;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid;
}

.ring-1 {
  border-color: var(--accent-glow);
  inset: -8px;
  animation: spin 8s linear infinite;
  border-top-color: var(--accent);
  border-radius: 50%;
}

.ring-2 {
  border-color: var(--accent-glow);
  inset: -20px;
  animation: spin 12s linear infinite reverse;
  border-bottom-color: var(--accent-2);
  border-radius: 50%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

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

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* =============================================
   SKILLS
============================================= */
.skills {
  background: var(--bg);
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: box-shadow var(--transition);
}

.skill-category:hover {
  box-shadow: var(--shadow-card);
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cat-icon {
  font-size: 1.3rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.skill-card {
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.skill-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-pct {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.skill-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-fill.animated {
  /* width set by JS */
}

/* =============================================
   PROJECTS
============================================= */
.projects {
  background: var(--bg-2);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.project-img-wrap {
  overflow: hidden;
  height: 220px;
  position: relative;
}

.project-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.project-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 0;
}

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

.project-img-1 {
  background: linear-gradient(135deg, #C85A32 0%, #E28762 50%, #D4724A 100%);
}

.project-img-2 {
  background: linear-gradient(135deg, #3D2B1F 0%, #C85A32 100%);
}

.project-img-3 {
  background: linear-gradient(135deg, #A84825 0%, #C85A32 50%, #E28762 100%);
}

.project-img-4 {
  background: linear-gradient(135deg, #E28762 0%, #C85A32 50%, #A84825 100%);
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.project-img-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 0 1rem;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

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

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.project-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* =============================================
   CONTACT
============================================= */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

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

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ci-icon {
  font-size: 1.3rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* FORM */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.form-label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.25s ease;
  background: var(--bg-2);
  padding: 0 0.25rem;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-card);
}

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

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.35rem;
  min-height: 1.1rem;
}

/* Success State */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  min-height: 300px;
}

.success-icon {
  font-size: 3.5rem;
  animation: popIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.form-success p {
  color: var(--text-muted);
  max-width: 280px;
}

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
}

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

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

.footer-social-link {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.footer-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* =============================================
   RESPONSIVE BREAKPOINTS
============================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrap {
    order: -1;
  }

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

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

  .nav-right-mobile {
    display: flex;
  }

  .section {
    padding: 5rem 0;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .about-stats {
    gap: 1.5rem;
  }

  .about-image-frame {
    width: 240px;
    height: 240px;
  }

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

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

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

  .contact-form-wrap {
    padding: 1.75rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 3rem);
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .project-links {
    flex-direction: column;
  }

  .footer-inner {
    gap: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .about-image-frame {
    width: 200px;
    height: 200px;
  }
}

/* =============================================
   TOAST NOTIFICATION
============================================= */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  box-shadow: 0 8px 30px var(--accent-glow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
