/* ============================================================
   TENSORA AI PORTFOLIO — style.css
   EDIT GUIDE:
   - Colors are in the :root section below — change them there
   - Font sizes use rem units (1rem = 16px by default)
   - Section padding controlled by .section-pad
   ============================================================ */

/* ============ VARIABLES (Edit colors here) ============ */
:root {
  --navy: #0f172a;         /* Dark navy — headings, navbar */
  --navy-mid: #1e293b;     /* Medium navy — footer, dark sections */
  --blue: #2563eb;         /* Primary blue — buttons, accents */
  --blue-light: #3b82f6;   /* Lighter blue — hover states */
  --blue-pale: #eff6ff;    /* Very light blue — card highlights */
  --teal: #0d9488;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --orange: #ea580c;
  --green: #16a34a;
  --pink: #db2777;
  --white: #ffffff;
  --gray-50: #f8fafc;      /* Light page background */
  --gray-100: #f1f5f9;     /* Cards, light sections */
  --gray-200: #e2e8f0;     /* Borders */
  --gray-400: #94a3b8;     /* Placeholder text */
  --gray-600: #475569;     /* Body text */
  --gray-800: #1e293b;     /* Dark text */
  --font: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 32px rgba(37, 99, 235, 0.15);
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.7;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ============ SECTION PADDING ============ */
.section-pad { padding: 5rem 0; }
.bg-light { background: var(--gray-50); }

/* ============ SECTION HEADERS ============ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-sub {
  color: var(--gray-400);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-color: var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
}

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

/* Brand logo */
.nav-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-tensora { color: var(--navy); }
.brand-ai { color: var(--blue); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--blue); background: var(--blue-pale); }
.nav-links .nav-cta {
  background: var(--blue);
  color: var(--white);
  margin-left: 0.5rem;
}
.nav-links .nav-cta:hover {
  background: var(--blue-light);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 60%, #0f172a 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Background decorative shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--blue-light);
  bottom: -150px; left: -100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.highlight { color: #60a5fa; }

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.stat { text-align: left; }
.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Hero Visual (right side) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-float {
  position: relative;
  width: 320px;
  height: 320px;
}
.hero-avatar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #818cf8);
  padding: 4px;
}
.hero-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.4);
}
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}
.float-card i { font-size: 1.1rem; color: #60a5fa; }
.card-1 { top: 10px; left: -20px; animation-delay: 0s; }
.card-2 { bottom: 30px; right: -10px; animation-delay: 1s; }
.card-3 { top: 50%; left: -30px; transform: translateY(-50%); animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.card-3 { animation-name: floatMid; }
@keyframes floatMid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap { position: relative; }
.about-image-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/4;
  border: 2px dashed var(--gray-200);
  font-size: 4rem;
  color: var(--gray-400);
  gap: 1rem;
}
.about-image-placeholder p {
  font-size: 0.85rem;
  color: var(--gray-400);
}
/* When you add a real photo, it will be styled like: */
.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.about-badge-card i {
  font-size: 1.5rem;
  color: #f59e0b;
}
.about-badge-card strong { display: block; font-size: 0.9rem; color: var(--navy); }
.about-badge-card span { font-size: 0.78rem; color: var(--gray-400); }

.about-text p { margin-bottom: 1rem; color: var(--gray-600); }
.about-text strong { color: var(--navy); }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.tag {
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid #bfdbfe;
}

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

.skill-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  cursor: default;
}
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}

.skill-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
/* Icon color variants */
.skill-icon.blue    { background: #eff6ff; color: var(--blue); }
.skill-icon.indigo  { background: #eef2ff; color: var(--indigo); }
.skill-icon.teal    { background: #f0fdfa; color: var(--teal); }
.skill-icon.purple  { background: #f5f3ff; color: var(--purple); }
.skill-icon.orange  { background: #fff7ed; color: var(--orange); }
.skill-icon.green   { background: #f0fdf4; color: var(--green); }
.skill-icon.pink    { background: #fdf2f8; color: var(--pink); }

.skill-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.skill-card p {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.featured-service {
  border-color: var(--blue);
  background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.service-icon {
  width: 56px; height: 56px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card > p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.service-list {
  margin-bottom: 1.5rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-list li i {
  color: var(--blue);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ============ PROJECTS ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}

.project-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), #818cf8);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.project-tag-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.project-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.project-tech span {
  font-size: 0.72rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
}

/* ============ LEARNING JOURNEY ============ */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.progress-item {
  margin-bottom: 1.25rem;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.progress-header i { margin-right: 0.4rem; color: var(--blue); }

.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #818cf8);
  border-radius: 100px;
  width: 0%;
  transition: width 1s ease;
}

/* Milestones */
.journey-milestones h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.milestone {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.milestone-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.milestone-dot.done     { background: var(--green); }
.milestone-dot.active   { background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.2); }
.milestone-dot.future   { background: var(--gray-200); border: 2px solid var(--gray-400); }

.milestone-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.milestone-text span {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ============ RESUME ============ */
.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.resume-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.resume-col-title i { color: var(--blue); }

.resume-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  position: relative;
}

.resume-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
  border: 3px solid var(--blue-pale);
}
.resume-dot.blue-dot { background: var(--indigo); border-color: #eef2ff; }

.resume-content { flex: 1; }
.resume-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.resume-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.2rem 0 0.2rem;
}
.resume-company {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 0.6rem;
  display: block;
}
.resume-content ul {
  list-style: disc;
  padding-left: 1.1rem;
}
.resume-content ul li {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

/* Tools Box */
.tools-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.tools-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tools-box h4 i { color: var(--blue); }
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tool-badge {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}

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

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.contact-card i {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.contact-card a {
  font-size: 0.8rem;
  color: var(--blue);
  word-break: break-all;
}
.contact-card a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; }

.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--green);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand .nav-brand { margin-bottom: 0.75rem; display: block; }
.footer-brand p { font-size: 0.85rem; max-width: 260px; }

.footer-links h4,
.footer-social h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }

.social-icons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-icons a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-icons a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
}

/* ============ CARD ANIMATION ============ */
.animate-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE — TABLET (768px) ============ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 1; }
  .hero-visual { display: none; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-badge { justify-content: center; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 300px; margin: 0 auto; }

  .journey-grid { grid-template-columns: 1fr; }
  .resume-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============ RESPONSIVE — MOBILE (640px) ============ */
@media (max-width: 640px) {
  .section-pad { padding: 3.5rem 0; }

  /* Show hamburger */
  .hamburger { display: flex; }

  /* Mobile nav dropdown */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 0.15rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.9rem; width: 100%; }
  .nav-links .nav-cta { margin-left: 0; margin-top: 0.5rem; }

  .navbar { position: relative; }

  .hero { padding-top: 0; min-height: auto; padding: 4rem 0; }
  .hero-content { padding: 2rem 1.5rem; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.4rem); }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }

  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
}

@media (max-width: 420px) {
  .skills-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
}
