/*
 * Stylesheet for Dr. Kunal's founder page
 *
 * This file defines a modern, expressive visual system for the founder profile.
 * It draws inspiration from the Clinidict brand colours but introduces custom
 * accents and layouts to set this page apart. Colours, buttons and cards
 * are defined as reusable utility classes. The page uses a dark base
 * complemented by subtle gradients and glowing highlights.
 */

:root {
  /* Base colours */
  --dark: #0a0f1b;
  --section: #101a2e;
  --primary: #14b8a6; /* emerald */
  --secondary: #6366f1; /* indigo */
  --light: #f3f4f6;
  --glass-light: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* Global resets */
body {
  margin: 0;
  background-color: var(--dark);
  color: #e5e7eb; /* slate-200 */
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

/* Background helpers */
.bg-dark { background-color: var(--dark); }
.bg-section { background-color: var(--section); }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

/* Primary button: gradient background with glowing border sweep */
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, rgba(20,184,166,0.9), rgba(99,102,241,0.9));
  box-shadow: 0 8px 20px rgba(20,184,166,0.25), 0 4px 12px rgba(0,0,0,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20,184,166,0.3), 0 6px 14px rgba(0,0,0,0.3);
}

/* Secondary button: outlined with subtle gradient fill */
.btn-secondary {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.btn-secondary:hover {
  background: rgba(20,184,166,0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20,184,166,0.15);
}

/* Inline link styled button */
.link-inline {
  position: relative;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.link-inline i {
  margin-left: 0.3rem;
}
.link-inline:hover {
  color: var(--secondary);
}

/* Chips */
.chip {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #cbd5e1;
}

/* Icon wrapper for mission section */
.icon-wrap {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 1.1rem;
}

/* Cards and sheen effect (reused from previous design) */
.tool-card, .card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}
.shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.06) 40%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.06) 60%, transparent 100%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tool-card:hover .shine, .card:hover .shine {
  opacity: 1;
  animation: sheen 1.3s ease-in-out;
}
@keyframes sheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

/* Glass card used for contact section */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.2), 0 10px 40px rgba(0,0,0,0.35);
}

/* Shadow glow used for hero portrait */
.shadow-glow {
  box-shadow: 0 0 0 3px rgba(20,184,166,0.3), 0 20px 80px rgba(0,0,0,0.5);
}

/* Reveal on scroll (intersection observer toggles the .inview class) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.inview {
  opacity: 1;
  transform: none;
}

/* Utility classes for layout (not heavy on tailwind) */
.size-9 { width: 2.25rem; height: 2.25rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .shine { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .btn-primary:hover, .btn-secondary:hover { transform: none !important; }
}