/* ================================================
   CHIRAG RAWAL — Personal Website
   main.css
   ================================================ */

/* === CSS Variables === */
:root {
  --bg-primary:    #080b14;
  --bg-secondary:  #0d1117;
  --bg-card:       #111827;
  --bg-card-hover: #1a2435;
  --bg-input:      #1a2435;

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  --accent:        #6366f1;
  --accent-hover:  #818cf8;
  --accent-light:  rgba(99, 102, 241, 0.10);
  --accent-border: rgba(99, 102, 241, 0.30);

  --green:         #10b981;
  --green-light:   rgba(16, 185, 129, 0.10);

  --border:        rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  --shadow:    0 4px 24px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.60);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  --font-sans:    'Inter', sans-serif;
  --font-display: 'Syne', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);

  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; height: auto; display: block; }
ul    { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* === Layout === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--accent-light);
}

.btn-lg  { padding: 15px 30px; font-size: 15px; }
.btn-sm  { padding: 8px 18px;  font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  gap: 2px;
  flex: 1;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  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;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent);
  top: -200px; right: -100px;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent);
  bottom: -100px; left: 100px;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social {
  display: flex;
  gap: 10px;
}
.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 17px;
  transition: var(--transition);
}
.hero-social a:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Hero Card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.profile-img-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  border: 4px solid var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-border);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite;
}

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

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-text strong { color: var(--text-primary); }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0;
}

.highlight-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.highlight-item:hover {
  border-color: var(--accent-border);
  background: var(--accent-light);
}
.highlight-item i {
  color: var(--accent);
  font-size: 19px;
  flex-shrink: 0;
  margin-top: 2px;
}
.highlight-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}
.highlight-item span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Sidebar */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.info-card h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.position-item {
  display: flex;
  align-items: center;
  gap: 13px;
}
.position-logo {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #0c3b5e, #1a6b9e);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.position-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.position-item span   { font-size: 13px; color: var(--text-muted); }

.industry-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.industry-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.industry-list i { color: var(--accent); width: 16px; }

.connect-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.connect-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.connect-links a:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-light);
}
.connect-links i { width: 16px; }

/* ================================================
   EXPERTISE
   ================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
}
.expertise-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.expertise-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 22px;
}

.expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.expertise-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.expertise-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.expertise-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
}

/* ================================================
   SERVICES
   ================================================ */
.services { background: var(--bg-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card-featured {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(16,185,129,0.04));
  border-color: var(--accent-border);
}

.service-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--border-strong);
  line-height: 1;
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ================================================
   WORK / EXPERIENCE
   ================================================ */
.work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}
.timeline-marker {
  position: absolute;
  left: -28px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  transition: var(--transition);
}
.timeline-item-active .timeline-marker {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.timeline-content:hover { border-color: var(--accent-border); }

.timeline-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.company-badge {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #0c3b5e, #1a6b9e);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900; color: #fff;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.company-badge-alt { opacity: 0.8; }
.company-badge-2   { opacity: 0.65; }
.company-badge-3   { opacity: 0.5; }

.timeline-header h3  { font-size: 15px; font-weight: 700; }
.company-name        { font-size: 13px; color: var(--text-muted); display: block; }
.timeline-date {
  margin-left: auto;
  font-size: 12px; color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.timeline-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.timeline-tags span {
  font-size: 11px; font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 100px;
}

/* Projects Panel */
.projects-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.project-card {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  transition: var(--transition);
}
.project-card:hover {
  border-color: var(--accent-border);
  transform: translateX(4px);
}

.project-icon {
  width: 42px; height: 42px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 17px;
  flex-shrink: 0;
}
.project-info h4 {
  font-size: 14px; font-weight: 700; margin-bottom: 5px;
}
.project-info p {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px;
}
.project-links a {
  font-size: 12px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 5px;
  transition: var(--transition);
}
.project-links a:hover { color: var(--accent-hover); }

.view-all-btn {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

/* ================================================
   INSIGHTS
   ================================================ */
.insights { background: var(--bg-secondary); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
}
.insight-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.insight-category {
  font-size: 11px; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.insight-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 10px; line-height: 1.3;
}
.insight-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px;
}
.insight-meta {
  display: flex; align-items: center; justify-content: space-between;
}
.coming-soon-badge {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--accent-border); }

.quote-icon {
  color: var(--accent); font-size: 20px; opacity: 0.5; margin-bottom: 14px;
}
.testimonial-card p {
  font-size: 15px; line-height: 1.7;
  color: var(--text-secondary); margin-bottom: 22px;
  font-style: italic;
}

.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; font-weight: 600; }
.testimonial-author span  { font-size: 12px; color: var(--text-muted); }

/* ================================================
   CONTACT
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.contact-method {
  display: flex;
  gap: 14px; align-items: flex-start;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: var(--transition);
}
.contact-method:hover {
  border-color: var(--accent-border);
  background: var(--accent-light);
}

.contact-icon {
  width: 42px; height: 42px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 17px;
  flex-shrink: 0;
}
.contact-method h4 {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact-method a,
.contact-method span {
  font-size: 14px; color: var(--text-primary); transition: var(--transition);
}
.contact-method a:hover { color: var(--accent); }

.availability-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  font-size: 13px; color: var(--green); font-weight: 500;
  margin-top: 6px;
}
.avail-dot {
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 15px;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
  padding-right: 38px;
  color: var(--text-muted);
}
.form-group select:focus { color: var(--text-primary); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 10px;
}

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

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 15px;
  transition: var(--transition);
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}

.footer-links h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 14px; color: var(--text-secondary); transition: var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-contact h4 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 10px;
}
.footer-contact p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px;
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 999;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  opacity: 0; transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4);
  cursor: pointer; border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* ================================================
   RESPONSIVE — 1024px (tablet landscape)
   ================================================ */
@media (max-width: 1024px) {
  .hero-container { gap: 48px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .expertise-grid,
  .services-grid    { grid-template-columns: repeat(2, 1fr); }

  .work-layout      { grid-template-columns: 1fr; }

  .insights-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ================================================
   RESPONSIVE — 768px (tablet portrait / mobile)
   ================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section         { padding: 72px 0; }
  .section-header  { margin-bottom: 44px; }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: rgba(8, 11, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 20px; padding: 12px 24px; }

  .hamburger { display: flex; }
  .nav-actions .btn-primary { display: none; }

  /* Hero mobile */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px; text-align: center;
  }
  .hero-description { max-width: 100%; }
  .hero-cta         { justify-content: center; }
  .hero-social      { justify-content: center; }
  .hero-stats       { gap: 16px; }

  /* About */
  .about-highlights    { grid-template-columns: 1fr; }
  .about-sidebar       { grid-template-columns: 1fr; }

  /* Grids */
  .expertise-grid,
  .services-grid,
  .insights-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }

  /* Footer */
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ================================================
   RESPONSIVE — 480px (small mobile)
   ================================================ */
@media (max-width: 480px) {
  .container   { padding: 0 18px; }
  .hero-card   { padding: 22px 18px; }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
  }
  .stat-divider { width: 40px; height: 1px; }
}
