/* ============================================================
   BIVASH PORTFOLIO — style.css
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --purple:        #6D28D9;
  --purple-light:  #A855F7;
  --purple-pale:   #E9D5FF;
  --purple-ultra:  #F3E8FF;
  --black:         #0A0A0A;
  --gray-900:      #111827;
  --gray-700:      #374151;
  --gray-500:      #6B7280;
  --gray-300:      #D1D5DB;
  --gray-100:      #F3F4F6;
  --white:         #FFFFFF;

  --font-display:  'IBM Plex Serif', serif;
  --font-body:     'IBM Plex Sans', sans-serif;

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --radius-full:   9999px;

  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:     0 4px 16px rgba(109,40,217,.08), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:     0 12px 40px rgba(109,40,217,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-xl:     0 24px 64px rgba(109,40,217,.16);

  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
select, input, textarea { font-family: inherit; }

/* ── Utility ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.mt-2 { margin-top: 2rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.centered { text-align: center; }
.hidden { display: none !important; }

/* ── Scroll Progress ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Loader ────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  display: flex !important;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-brand {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.loader-bar {
  width: 180px;
  height: 3px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: var(--radius-full);
  width: 0%;
  animation: loadFill 1.2s ease forwards;
}

@keyframes loadFill {
  to { width: 100%; }
}

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(109,40,217,0.1);
  border-radius: var(--radius-xl);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-lg);
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-nav {
  padding: 10px 20px;
  background: var(--white);
  color: var(--purple);
  border: 1.5px solid var(--purple);
  font-size: 0.85rem;
}

.btn-nav:hover {
  background: var(--purple);
  color: var(--white);
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(109,40,217,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(109,40,217,0.4);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn-full { width: 100%; }

.btn-loader { font-weight: 600; }

/* ── Section Labels & Headings ─────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-ultra);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.section-sub.centered { margin-left: auto; margin-right: auto; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple-pale), transparent);
  top: -200px; right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #C4B5FD, transparent);
  bottom: -100px; left: -100px;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--purple-pale), transparent);
  top: 50%; left: 40%;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--purple);
  background: var(--purple-ultra);
  border: 1px solid var(--purple-pale);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.1); }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat { text-align: left; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

/* ── Scroll Animations ─────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ── About ─────────────────────────────────────────────── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.about-card:hover {
  border-color: var(--purple-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.about-card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}

.about-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Services ──────────────────────────────────────────── */
.services { background: var(--gray-100); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: var(--purple-pale);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ── Projects ──────────────────────────────────────────── */
.projects { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--purple-pale);
}

.project-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gray-500);
  gap: 6px;
  background: linear-gradient(135deg, var(--gray-100), var(--purple-ultra));
}

.project-placeholder span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

.project-placeholder small {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.project-overlay {
  position: absolute;
  top: 14px; left: 14px;
}

.project-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--purple-pale);
}

.project-info { padding: 24px; }

.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
  letter-spacing: -0.01em;
}

.project-info p {
  font-size: 0.87rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.project-stack span {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--purple);
  background: var(--purple-ultra);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.project-links {
  display: flex;
  gap: 10px;
}

/* ── Why Choose Me ─────────────────────────────────────── */
.why { background: var(--gray-100); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: left;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--purple-pale);
}

.why-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}

.why-card p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── Process ───────────────────────────────────────────── */
.process { background: var(--white); }

.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(109,40,217,0.25);
  position: relative;
  z-index: 1;
}

.process-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  margin-top: 31px;
  flex-shrink: 0;
  opacity: 0.3;
}

.process-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--black);
}

.process-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq { background: var(--gray-100); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item.open { border-color: var(--purple-pale); box-shadow: var(--shadow-md); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  background: none;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--purple); }
.faq-item.open .faq-question { color: var(--purple); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ── Contact ───────────────────────────────────────────── */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--purple); }

.contact-link span { font-size: 1rem; }

/* ── Contact Form ──────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: #15803D;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: #C2410C;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  padding: 60px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #A78BFA, #C4B5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  background: rgba(109,40,217,0.3);
  border-color: rgba(109,40,217,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid        { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-grid      { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
  .process-timeline { flex-direction: column; align-items: center; }
  .process-connector { width: 2px; height: 40px; margin: 0; }
}

@media (max-width: 768px) {
  .navbar {
    top: 12px;
    width: calc(100% - 24px);
    padding: 12px 18px;
  }

  .section { padding: 72px 0; }

  .hero { padding: 120px 0 60px; }
  .hero-heading { font-size: 2.8rem; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.4rem; }

  .services-grid,
  .projects-grid,
  .why-grid { grid-template-columns: 1fr; }

  .about-cards { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }

  .contact-form { padding: 24px; }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }

  .section-heading { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 8px; }
  .stat-divider { width: 40px; height: 1px; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .project-links { flex-wrap: wrap; }
}

/* ── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up { opacity: 1 !important; transform: none !important; }
}
