/* ============================================
   TEJES RAJU INGOLE — PORTFOLIO STYLESHEET
   Inspired by: rajmudholkar.github.io style
   ============================================ */

:root {
  --bg: #0b0f1a;
  --bg2: #111827;
  --card: #1a2236;
  --accent: #3b82f6;
  --accent2: #6366f1;
  --accent-light: #93c5fd;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: #1e293b;
  --white: #ffffff;
}

/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 60px;
  background: rgba(11,15,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transition: all 0.3s;
}

.nav-logo img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(59,130,246,0.5);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}

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

.nav-link:hover,
.nav-link.active { color: var(--accent); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HOME ── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px 60px;
  position: relative;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(59,130,246,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(99,102,241,0.10) 0%, transparent 50%);
}

.home-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.home-text { flex: 1; }

.home-greeting {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 10px;
}

.home-name {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, #93c5fd 60%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 16px;
}

.home-role {
  font-size: 22px;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 20px;
  min-height: 34px;
}

#typing { color: var(--accent); font-weight: 600; }

.cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.home-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 36px;
}

.home-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,130,246,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}

.btn-outline:hover {
  background: rgba(59,130,246,0.12);
  transform: translateY(-2px);
}

.home-socials {
  display: flex;
  gap: 14px;
}

.home-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s;
}

.home-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(59,130,246,0.25);
}

/* Hero Image */
.home-img {
  flex-shrink: 0;
}

.img-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 60px rgba(59,130,246,0.25);
  animation: float 4s ease-in-out infinite;
}

.img-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Scroll Down */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 20px;
  text-decoration: none;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── SECTIONS COMMON ── */
section:not(#home) {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  margin: 0 auto 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Alternating section backgrounds */
#about, #education, #contact {
  background: var(--bg2);
  max-width: 100%;
  padding: 100px 0;
}

#about > *, #education > *, #contact > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;
}

#about .section-title,
#education .section-title,
#contact .section-title {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 60px;
}

/* ── ABOUT ── */
.about-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

.about-img {
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0.15;
  z-index: 0;
}

.about-img img {
  width: 100%;
  border-radius: 14px;
  border: 3px solid var(--border);
  position: relative;
  z-index: 1;
  display: block;
}

.about-info h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.about-info h3 span { color: var(--accent); }

.about-info h4 {
  font-size: 17px;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-info p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0;
  padding: 20px;
  background: var(--card);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.detail-item i { color: var(--accent); font-size: 16px; width: 18px; }

.about-stats {
  display: flex;
  gap: 32px;
  margin: 24px 0 28px;
  padding: 20px;
  background: var(--card);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.stat { text-align: center; flex: 1; }

.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

/* ── SKILLS ── */
.skills-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.skill-category {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}

.skill-category:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-4px);
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.skill-cat-header span { font-size: 22px; }

.skill-cat-header h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.skill-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.skill-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  min-height: 76px;
}

.skill-box:hover {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.1);
}

.skill-box img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.skill-box span {
  font-size: 10px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

/* ── EDUCATION ── */
.edu-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edu-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 4px 0 0 4px;
}

.edu-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.edu-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.edu-body { flex: 1; }

.edu-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 20px;
  padding: 3px 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.edu-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.edu-inst {
  font-size: 14px;
  color: var(--accent-light);
  margin-bottom: 6px;
  display: block;
}

.edu-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.edu-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
}

.edu-status.completed {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}

.edu-status.ongoing {
  background: rgba(59,130,246,0.1);
  color: var(--accent-light);
  border: 1px solid rgba(59,130,246,0.2);
}

/* ── PROJECTS ── */
.projects-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.project-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.project-body { flex: 1; }

.project-domain {
  font-size: 11px;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.project-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.project-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tags span {
  font-size: 11px;
  padding: 3px 12px;
  background: rgba(59,130,246,0.1);
  color: var(--accent-light);
  border-radius: 20px;
  border: 1px solid rgba(59,130,246,0.2);
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.project-link:hover { color: var(--accent-light); gap: 10px; }

.project-link.coming {
  color: var(--muted);
  cursor: default;
  font-size: 12px;
}

/* ── CONTACT ── */
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.2s, transform 0.2s;
}

.contact-item:hover {
  border-color: rgba(59,130,246,0.4);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Contact Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

/* ── FOOTER ── */
footer {
  background: #060a14;
  border-top: 1px solid var(--border);
  padding: 60px 60px 30px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.footer-logo {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 17px;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-nav h4,
.footer-contact-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-nav h4::after,
.footer-contact-info h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-nav a:hover { color: var(--accent); padding-left: 6px; }

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-contact-info i { color: var(--accent); width: 16px; }

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom span { color: var(--accent); font-weight: 600; }

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

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

/* ════════════════════════════════════════
   RESPONSIVE — TABLET (≤1100px)
════════════════════════════════════════ */
@media (max-width: 1100px) {
  nav { padding: 14px 30px; }

  #home { padding: 100px 30px 60px; }

  section:not(#home) { padding: 80px 30px; }

  #about, #education, #contact { padding: 80px 0; }
  #about > *, #education > *, #contact > *,
  #about .section-title, #education .section-title, #contact .section-title,
  .about-container, .edu-container, .contact-container { padding-left: 30px; padding-right: 30px; }

  .skills-wrapper { grid-template-columns: 1fr 1fr; gap: 20px; }
  .skill-boxes { grid-template-columns: repeat(3, 1fr); }

  footer { padding: 50px 30px 24px; }
  .footer-inner { padding: 0; }
}

/* ════════════════════════════════════════
   RESPONSIVE — LARGE TABLET (≤900px)
════════════════════════════════════════ */
@media (max-width: 900px) {

  /* HOME — stack vertically */
  .home-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .img-circle { width: 260px; height: 260px; }
  .home-greeting { font-size: 16px; }
  .home-name { font-size: 40px; }
  .home-btns { justify-content: center; }
  .home-socials { justify-content: center; }
  .home-desc { margin: 0 auto 36px; max-width: 480px; }

  /* ABOUT */
  .about-container { grid-template-columns: 1fr; gap: 36px; }
  .about-img { max-width: 220px; margin: 0 auto; }
  .about-info { text-align: center; }
  .about-details { text-align: left; }
  .about-stats { justify-content: center; }

  /* CONTACT */
  .contact-container { grid-template-columns: 1fr; gap: 36px; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAVBAR ── */
  nav { padding: 12px 18px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(11,15,26,0.99);
    backdrop-filter: blur(16px);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    text-align: center;
    z-index: 998;
  }

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

  .nav-link {
    display: block;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(59,130,246,0.1);
    color: var(--accent);
  }

  .nav-link::after { display: none; }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  /* ── HOME ── */
  #home { padding: 95px 18px 70px; }

  .home-container { gap: 32px; }

  .home-greeting { font-size: 15px; }
  .home-name { font-size: 28px; letter-spacing: -0.5px; }
  .home-role { font-size: 17px; min-height: 28px; }
  .home-desc { font-size: 14px; line-height: 1.8; padding: 0 4px; }

  .img-circle {
    width: 200px;
    height: 200px;
    animation: none; /* disable float on mobile */
  }

  .home-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 13px 24px;
    font-size: 14px;
  }

  .home-socials { gap: 10px; }
  .home-socials a { width: 40px; height: 40px; font-size: 16px; }

  .scroll-down { display: none; }

  /* ── SECTIONS ── */
  section:not(#home) { padding: 65px 18px; }

  #about, #education, #contact { padding: 65px 0; }
  #about > *, #education > *, #contact > *,
  #about .section-title, #education .section-title, #contact .section-title,
  .about-container, .edu-container, .contact-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 24px; }
  .section-sub { font-size: 14px; }
  .title-line { width: 48px; height: 3px; }

  /* ── ABOUT ── */
  .about-container { gap: 28px; }
  .about-img { max-width: 180px; }

  .about-info h3 { font-size: 24px; }
  .about-info h4 { font-size: 14px; }
  .about-info p { font-size: 14px; }

  .about-details { padding: 14px 16px; gap: 8px; }
  .detail-item { font-size: 13px; }

  .about-stats {
    gap: 0;
    padding: 16px;
    justify-content: space-around;
  }

  .stat-num { font-size: 28px; }
  .stat-label { font-size: 12px; }

  /* ── SKILLS ── */
  .skills-wrapper { grid-template-columns: 1fr; gap: 14px; }

  .skill-category { padding: 18px 16px; }
  .skill-cat-header h3 { font-size: 12px; }
  .skill-cat-header span { font-size: 18px; }

  .skill-boxes { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .skill-box { min-height: 68px; padding: 10px 4px; gap: 6px; }
  .skill-box img { width: 26px; height: 26px; }
  .skill-box span { font-size: 10px; }

  /* ── EDUCATION ── */
  .edu-container { gap: 14px; }

  .edu-card {
    padding: 18px 16px;
    gap: 14px;
    flex-direction: row;
    align-items: flex-start;
  }

  .edu-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 20px;
    flex-shrink: 0;
  }

  .edu-badge { font-size: 10px; padding: 2px 10px; margin-bottom: 7px; }
  .edu-body h3 { font-size: 14px; line-height: 1.4; margin-bottom: 5px; }
  .edu-inst { font-size: 12px; }
  .edu-meta { font-size: 11px; margin-bottom: 8px; }
  .edu-status { font-size: 11px; padding: 3px 10px; }

  /* ── PROJECTS ── */
  .projects-wrapper { grid-template-columns: 1fr; gap: 14px; }

  .project-card {
    flex-direction: row;
    padding: 20px 16px;
    gap: 14px;
  }

  .project-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 18px;
    flex-shrink: 0;
  }

  .project-domain { font-size: 10px; }
  .project-body h3 { font-size: 14px; margin-bottom: 8px; }
  .project-body p { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
  .project-tags span { font-size: 10px; padding: 2px 9px; }
  .project-link { font-size: 12px; }

  /* ── CONTACT ── */
  .contact-info { gap: 12px; }

  .contact-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .contact-item h4 { font-size: 11px; }
  .contact-item a, .contact-item span { font-size: 13px; }

  .contact-form { padding: 20px 16px; gap: 14px; }

  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  /* ── FOOTER ── */
  footer { padding: 40px 18px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-logo { font-size: 24px; }
  .footer-brand p { font-size: 13px; }
  .footer-nav h4, .footer-contact-info h4 { font-size: 13px; }
  .footer-nav a, .footer-contact-info p { font-size: 13px; }
  .footer-bottom { font-size: 12px; }
  .footer-socials a { width: 36px; height: 36px; font-size: 15px; }
}

/* ════════════════════════════════════════
   RESPONSIVE — SMALL PHONES (≤430px)
════════════════════════════════════════ */
@media (max-width: 430px) {

  .home-name { font-size: 24px; }
  .home-role { font-size: 15px; }
  .img-circle { width: 170px; height: 170px; }

  .section-title h2 { font-size: 22px; }

  .skill-boxes { grid-template-columns: repeat(3, 1fr); }
  .skill-box { min-height: 62px; }

  .edu-card { flex-direction: column; gap: 12px; }
  .edu-icon-wrap { width: 42px; height: 42px; font-size: 17px; }

  .project-card { flex-direction: column; }
  .project-icon-wrap { width: 40px; height: 40px; font-size: 17px; }

  .about-stats { flex-wrap: wrap; }
  .stat { min-width: 80px; }

  .btn-primary, .btn-outline { max-width: 100%; }
}
/* ════════════════════════════════════════
   PROJECT LINKS ROW — Live App + GitHub
════════════════════════════════════════ */
.project-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}

.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(59,130,246,0.3);
}
.btn-live:hover { opacity: 0.88; transform: translateY(-2px); }

@media (max-width: 768px) {
  .project-links {
    gap: 10px;
    margin-top: 10px;
  }
  .btn-live {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 430px) {
  .project-links {
    gap: 8px;
    margin-top: 8px;
  }
  .btn-live {
    font-size: 12px;
    padding: 6px 14px;
  }
}