/* ============================================
   GOWTHAM S — Portfolio CSS
   Theme: Dark luxury with amber/gold accents
   Font: Syne (display) + DM Sans (body)
============================================ */

/* ===== VARIABLES ===== */
:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #181818;
  --surface: #1e1e1e;
  --border: rgba(255,255,255,0.07);
  --accent: #f0a500;
  --accent2: #ff6b35;
  --text: #f0ece4;
  --text-muted: #888;
  --text-dim: #555;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glow: 0 0 40px rgba(240,165,0,0.15);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== NOISE OVERLAY ===== */
.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); position: fixed;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-follower {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(240,165,0,0.4);
  position: fixed; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ===== CONTAINER ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ===== SECTION ===== */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-label {
  font-family: 'Syne', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 2rem;
}
.section-title em { font-style: normal; color: var(--accent); }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0; transform: translateY(32px);
  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 1.8rem; border-radius: 50px;
  font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 600;
  transition: var(--transition); cursor: pointer;
}
.btn-primary {
  background: var(--accent); color: #0a0a0a;
  box-shadow: 0 0 0 rgba(240,165,0,0);
}
.btn-primary:hover {
  background: #ffc030;
  box-shadow: 0 0 30px rgba(240,165,0,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}
.full-w { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(10,10,10,0.97); }
.nav-logo {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.02em;
}
.dot { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-family: 'Syne', sans-serif; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-muted); transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: 'Syne', sans-serif; font-size: 0.82rem; font-weight: 700;
  padding: 0.55rem 1.4rem; border-radius: 50px;
  background: var(--accent); color: #0a0a0a;
  transition: var(--transition);
}
.nav-cta:hover { background: #ffc030; box-shadow: 0 0 20px rgba(240,165,0,0.35); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: var(--transition);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--bg); padding: 6rem 3rem 3rem;
  flex-direction: column; justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2rem; }
.mobile-menu a {
  font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--text); transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem; padding-left: 5vw; padding-right: 5vw;
  position: relative; overflow: hidden; z-index: 1;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(240,165,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Syne', sans-serif; font-size: clamp(80px, 18vw, 200px);
  font-weight: 800; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.03);
  pointer-events: none; white-space: nowrap; z-index: 0; user-select: none;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(240,165,0,0.3);
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem; background: rgba(240,165,0,0.06);
}
.hero-tag::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800; line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent); }
.hero-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 480px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800;
  color: var(--text); line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* Hero image */
.hero-img-wrap { position: relative; z-index: 1; flex-shrink: 0; }
.hero-img-card {
  width: 320px; height: 380px; border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: visible;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), var(--glow);
}
.hero-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 2.2rem; font-weight: 800; color: #0a0a0a;
}
.hero-card-tag {
  position: absolute; left: -20px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.4rem 1rem;
  font-size: 0.78rem; font-weight: 600; font-family: 'Syne', sans-serif;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.hero-card-tag.top { top: 30px; }
.hero-card-tag.bottom { bottom: 30px; }
.floating-badge {
  position: absolute;
  background: var(--accent); color: #0a0a0a;
  border-radius: 50px; padding: 0.4rem 0.9rem;
  font-size: 0.75rem; font-weight: 700; font-family: 'Syne', sans-serif;
  display: flex; align-items: center; gap: 0.4rem;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(240,165,0,0.3);
}
.badge-1 { top: -16px; right: -16px; animation-delay: 0s; }
.badge-2 { bottom: -16px; right: -16px; animation-delay: 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 5vw;
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-line {
  width: 50px; height: 1px; background: var(--text-dim);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; left: -100%; top: 0;
  width: 100%; height: 100%; background: var(--accent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0% { left: -100%; } 100% { left: 100%; }
}

/* ===== ABOUT ===== */
.about { background: var(--bg2); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.about-text p {
  color: var(--text-muted); margin-bottom: 1.2rem; font-size: 1rem; line-height: 1.8;
}
.about-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.social-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; font-family: 'Syne', sans-serif;
  color: var(--text-muted); border: 1px solid var(--border);
  padding: 0.55rem 1.1rem; border-radius: 50px;
  transition: var(--transition);
}
.social-link:hover {
  color: var(--accent); border-color: var(--accent);
  background: rgba(240,165,0,0.06);
}
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; display: flex; gap: 1rem; align-items: flex-start;
  transition: var(--transition);
}
.info-card:hover { border-color: rgba(240,165,0,0.3); transform: translateY(-3px); }
.info-card i {
  color: var(--accent); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0;
}
.info-card div { display: flex; flex-direction: column; gap: 2px; }
.info-card strong { font-size: 0.85rem; font-family: 'Syne', sans-serif; font-weight: 700; }
.info-card span { font-size: 0.82rem; color: var(--text-muted); }
.info-card .muted { color: var(--text-dim); font-size: 0.76rem; }

/* ===== SKILLS ===== */
.skills { background: var(--bg); }
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
  margin-top: 1rem;
}
.skill-group {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: var(--transition);
}
.skill-group:hover { border-color: rgba(240,165,0,0.3); transform: translateY(-4px); box-shadow: var(--glow); }
.skill-group-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(240,165,0,0.1); border: 1px solid rgba(240,165,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.2rem; margin-bottom: 1rem;
}
.skill-group h3 {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  margin-bottom: 1.2rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tags span {
  font-size: 0.77rem; font-weight: 500;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 50px; padding: 0.3rem 0.75rem;
  transition: var(--transition);
}
.skill-tags span:hover {
  background: rgba(240,165,0,0.1); border-color: var(--accent); color: var(--accent);
}

/* ===== EXPERIENCE ===== */
.experience { background: var(--bg2); }
.timeline { position: relative; margin-top: 1rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-item {
  position: relative; padding-left: 3rem; margin-bottom: 3rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -6px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(240,165,0,0.2);
}
.timeline-date {
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 0.8rem;
}
.timeline-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; transition: var(--transition);
}
.timeline-card:hover { border-color: rgba(240,165,0,0.3); transform: translateX(4px); }
.tl-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 1.2rem; gap: 1rem;
}
.tl-header h3 {
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem;
}
.company { font-size: 0.85rem; color: var(--accent); font-weight: 500; }
.tl-badge {
  font-size: 0.72rem; font-weight: 700; font-family: 'Syne', sans-serif;
  padding: 0.3rem 0.8rem; border-radius: 50px; white-space: nowrap; flex-shrink: 0;
}
.tl-badge.design { background: rgba(255,107,53,0.15); color: #ff6b35; border: 1px solid rgba(255,107,53,0.3); }
.tl-badge.dev { background: rgba(240,165,0,0.15); color: var(--accent); border: 1px solid rgba(240,165,0,0.3); }
.timeline-card ul { display: flex; flex-direction: column; gap: 0.6rem; }
.timeline-card li {
  font-size: 0.9rem; color: var(--text-muted); padding-left: 1rem; position: relative;
}
.timeline-card li::before {
  content: '▸'; position: absolute; left: 0; color: var(--accent); font-size: 0.7rem;
}

/* ===== PROJECTS ===== */
.projects { background: var(--bg); }
.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem; margin-top: 1rem;
}
.project-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.project-card:hover { border-color: rgba(240,165,0,0.3); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.project-img {
  height: 200px; position: relative; display: flex; align-items: center; justify-content: center;
}
.p1 { background: linear-gradient(135deg, #1a2a1a, #0e1e0e); }
.p2 { background: linear-gradient(135deg, #1a1a2e, #0e0e1e); }
.project-icon { font-size: 3.5rem; opacity: 0.15; color: var(--accent); }
.project-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-link {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition);
  transform: scale(0.8);
}
.project-card:hover .project-link { transform: scale(1); }
.project-body { padding: 1.6rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.project-tags span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--accent); background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2); border-radius: 4px;
  padding: 0.2rem 0.6rem;
}
.project-body h3 {
  font-family: 'Syne', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.7rem;
}
.project-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.2rem; }
.project-stats { display: flex; gap: 1.2rem; margin-bottom: 1.4rem; }
.project-stats span { font-size: 0.78rem; color: var(--text-dim); display: flex; align-items: center; gap: 0.35rem; }
.project-stats i { color: var(--accent); }
.project-footer { display: flex; justify-content: space-between; align-items: center; }
.project-date { font-size: 0.75rem; color: var(--text-dim); }
.project-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700; font-family: 'Syne', sans-serif;
  color: var(--accent); transition: gap 0.2s;
}
.project-btn:hover { gap: 0.7rem; }

/* ===== CONTACT ===== */
.contact { background: var(--bg2); }
.contact-sub { color: var(--text-muted); margin-bottom: 3rem; font-size: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.2rem 1.4rem;
  transition: var(--transition);
}
.contact-item:hover { border-color: rgba(240,165,0,0.3); transform: translateX(4px); }
.contact-item i {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(240,165,0,0.1); border: 1px solid rgba(240,165,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1rem;
}
.contact-item div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 0.82rem; font-family: 'Syne', sans-serif; font-weight: 700; }
.contact-item span { font-size: 0.82rem; color: var(--text-muted); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.9rem 1.2rem;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  transition: var(--transition); resize: none; outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent); background: rgba(240,165,0,0.03);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-dim); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800;
}
.footer p { font-size: 0.82rem; color: var(--text-dim); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem; transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== HERO PHOTO ===== */
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 20px; display: block;
}

/* Java badge colour */
.tl-badge.java {
  background: rgba(255, 107, 107, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Java project card gradient */
.p3 { background: linear-gradient(135deg, #2a1a0a, #1e0e00); }
.p3 .project-icon { color: #ff6b35; }

/* Skills grid — 5 cards, last row centered */
.skills-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav { padding: 0 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 0 1.5rem; padding-top: var(--nav-h); flex-direction: column; text-align: center; padding-bottom: 3rem; }
  .hero-content { max-width: 100%; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-img-wrap { display: none; }
  .scroll-hint { display: none; }
  .hero-bg-text { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 1.8rem; }
  .about-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-stats { gap: 1rem; }
}

/* ===== RESPONSIVE OVERRIDE — MOBILE PHOTO FIX ===== */
@media (max-width: 1024px) {
  .nav { padding: 0 1.5rem; }
  .nav-links, .nav-cta { display: none !important; }
  .hamburger { display: flex !important; }

  .hero {
    padding: 0 1.5rem !important;
    padding-top: calc(var(--nav-h) + 2rem) !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    text-align: center !important;
    padding-bottom: 4rem !important;
    gap: 2rem !important;
    min-height: 100vh;
  }
  .hero-content { max-width: 100% !important; order: 2; }
  .hero-sub { margin: 0 auto 2.5rem !important; }
  .hero-btns { justify-content: center !important; }
  .hero-stats { justify-content: center !important; }
  .scroll-hint { display: none !important; }
  .hero-bg-text { display: none !important; }

  /* PHOTO — show on mobile */
  .hero-img-wrap { display: flex !important; order: 1; }
  .hero-img-card { width: 200px !important; height: 240px !important; }
  .hero-card-tag { display: none !important; }
  .badge-1 { top: -12px !important; right: -12px !important; font-size: 0.68rem !important; padding: 0.3rem 0.7rem !important; }
  .badge-2 { bottom: -12px !important; right: -12px !important; font-size: 0.68rem !important; padding: 0.3rem 0.7rem !important; }

  .about-grid { grid-template-columns: 1fr !important; gap: 3rem !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .skills-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .projects-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0 !important; }
  .section-title { font-size: 1.8rem !important; }
  .about-cards { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .footer-inner { flex-direction: column !important; text-align: center !important; }
  .hero-stats { gap: 1rem !important; }
  .skills-grid { grid-template-columns: 1fr !important; }
  .hero-img-card { width: 170px !important; height: 200px !important; }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 1rem 1.5rem; border-radius: 50px;
  font-size: 0.88rem; font-family: 'Syne', sans-serif; font-weight: 600;
  display: flex; align-items: center; gap: 0.6rem;
  z-index: 9999; opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.toast.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success i { color: #22c55e; }
.toast-error i { color: #ef4444; }

