/* style.css - Premium Design System & Typography for Ravinder Kumar's Portfolio */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette (Slate Navy, Cyber Teal, Neon Purple) */
  --bg-main: #0b0f19;
  --bg-gradient: radial-gradient(circle at 50% 0%, #151e33 0%, #0b0f19 70%);
  --bg-card: rgba(22, 30, 49, 0.45);
  --bg-card-hover: rgba(28, 40, 68, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(0, 242, 254, 0.3);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #00f2fe;
  --accent-purple: #9d4edd;
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #9d4edd 100%);
  --accent-gradient-text: linear-gradient(135deg, #00f2fe 0%, #9d4edd 100%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 242, 254, 0.15);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography & Layout Headers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

header.scrolled {
  background: rgba(11, 15, 25, 0.85);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-cyan);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-4px);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  gap: 48px;
  padding-top: 120px;
}

.hero-content {
  flex: 1.2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge span.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-cyan); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image-container {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 6px;
  background: var(--accent-gradient);
  box-shadow: var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-main);
  background-color: #1e293b;
}

/* About Section & Skills */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.skills-category h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skills-category h4 span {
  color: var(--accent-cyan);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
  transform: translateY(-1px);
}

/* Experience & Education Section */
.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--accent-gradient);
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.25);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 8px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 179px;
  top: 10px;
  bottom: -24px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-meta {
  text-align: right;
  padding-top: 4px;
}

.timeline-duration {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.timeline-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-item-wrapper {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--bg-main);
  border: 3px solid var(--accent-cyan);
  border-radius: 50%;
  z-index: 10;
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-card {
  padding: 24px;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  list-style: none;
}

.timeline-desc li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.timeline-desc li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Projects Grid (Professional & Personal) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
}

.project-highlight {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  background: rgba(0, 242, 254, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.project-links {
  display: flex;
  gap: 12px;
}

.project-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.project-links a:hover {
  color: var(--accent-cyan);
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: 4px;
}

.project-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.project-btn:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* Project Detail Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.2rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-highlight {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
}

.modal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.modal-main-content section {
  padding: 0;
  margin-bottom: 28px;
}

.modal-main-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
}

.modal-main-content p, 
.modal-main-content ul {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.modal-main-content ul {
  padding-left: 20px;
}

.modal-main-content li {
  margin-bottom: 8px;
}

.modal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}

.sidebar-block h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.sidebar-block ul {
  list-style: none;
}

.sidebar-block li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-block li::before {
  content: "→";
  color: var(--accent-cyan);
}

.modal-link-btn {
  margin-top: 16px;
  width: 100%;
}

/* WIP Teardowns & PRD Showcase */
.wip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.wip-card {
  position: relative;
  overflow: hidden;
}

.wip-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.3);
  color: var(--accent-purple);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.wip-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.wip-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.wip-preview {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  padding: 16px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-height: 120px;
  overflow: hidden;
  position: relative;
}

.wip-preview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.8), transparent);
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-read-time {
  color: var(--accent-cyan);
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--accent-cyan);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  text-decoration: none;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-link:hover {
  text-decoration: underline;
}

/* How I Work Section */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  padding: 32px;
}

.work-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.work-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.work-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Contact & Query Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

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

.contact-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
}

.contact-method-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.contact-method-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contact-method-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

.contact-method-value:hover {
  color: var(--accent-cyan);
}

.contact-form-wrapper {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  padding: 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  background: #060911;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--accent-cyan);
}

/* Responsive Breakpoints */

@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 140px;
    gap: 32px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .timeline-item {
    grid-template-columns: 140px 1fr;
  }
  
  .timeline-item::before {
    left: 139px;
  }
  
  .timeline-dot {
    left: -29px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 16px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #0c1222;
    flex-direction: column;
    padding: 80px 40px;
    transition: var(--transition-normal);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 24px;
  }
  
  .timeline-item::before {
    left: 4px;
    top: 24px;
    bottom: -16px;
  }
  
  .timeline-dot {
    left: -4px;
    top: 6px;
  }
  
  .timeline-meta {
    text-align: left;
  }
  
  .wip-grid {
    grid-template-columns: 1fr;
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 24px;
  }
}

/* Highlights Carousel Section */
.carousel-section {
  padding: 80px 24px 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.carousel-slide:hover {
  background: var(--bg-card-hover);
}

.slide-icon {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  background: rgba(0, 242, 254, 0.08);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.15);
}

.slide-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.slide-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(22, 30, 49, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
}

.carousel-control:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.carousel-control.prev {
  left: -60px;
}

.carousel-control.next {
  right: -60px;
}

/* Indicator Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-dots .dot.active {
  background: var(--accent-cyan);
  width: 24px;
  border-radius: 5px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

@media (max-width: 992px) {
  .carousel-control.prev {
    left: -20px;
  }
  .carousel-control.next {
    right: -20px;
  }
  .carousel-container {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    padding: 40px 20px;
  }
  .slide-title {
    font-size: 1.4rem;
  }
  .slide-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .carousel-control {
    width: 38px;
    height: 38px;
  }
}

/* Centered Hero Content layout adjustments */
.centered-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px !important;
  margin: 0 auto;
  padding-bottom: 20px;
}

.centered-hero .hero-description {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.centered-hero .hero-ctas,
.centered-hero .hero-stats {
  justify-content: center;
}

/* Full-Width Antigravity Carousel Section */
.antigravity-carousel-section {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden;
  padding: 60px 0 80px 0 !important;
  
  /* Minimalist Framed Grid: 1px architectural grid lines */
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.carousel-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 60%, var(--bg-main) 100%);
  pointer-events: none;
  z-index: 2;
}

.carousel-container-full {
  max-width: 100%;
  width: 100%;
  position: relative;
  z-index: 3;
}

.hero-carousel-container {
  width: 100%;
  position: relative;
}

.hero-carousel-track-wrapper {
  overflow: visible; /* Allows sliding cards to display off-screen */
  width: 100%;
  position: relative;
}

.hero-carousel-track {
  display: flex;
  /* Weightless Slide Transition: Decelerates smoothly through zero-gravity */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Card slides structure */
.hero-carousel-slide {
  width: 420px;
  min-width: 420px;
  margin: 0 25px;
  flex-shrink: 0;
  box-sizing: border-box;
  opacity: 0.35;
  transform: scale(0.9);
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Floating Active Card (Z-Axis Depth): elevated and active scale */
.hero-carousel-slide.active-slide {
  opacity: 1;
  transform: scale(1.02) translateY(-8px);
  z-index: 100;
}

/* Zero Gravity hover micro-interaction */
.hero-carousel-slide.active-slide:hover {
  transform: scale(1.04) translateY(-16px);
}

/* Update Card Styles */
.update-card {
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  background: rgba(22, 30, 49, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  transition: var(--transition-normal);
}

/* Sleek glassmorphism details for active card */
.hero-carousel-slide.active-slide .update-card {
  background: rgba(28, 40, 68, 0.45);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 20px 45px rgba(0, 242, 254, 0.12), 
              0 0 35px rgba(157, 78, 221, 0.08);
}

.update-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #101524;
  border-bottom: 1px solid var(--border-color);
}

.hero-carousel-slide.active-slide .update-image-wrapper {
  border-color: rgba(0, 242, 254, 0.2);
}

.update-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.update-card:hover .update-image {
  transform: scale(1.05);
}

.update-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  text-align: left;
}

.update-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: inline-block;
  transition: color 0.4s ease;
}

.hero-carousel-slide.active-slide .update-badge {
  color: var(--accent-cyan);
}

.update-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.update-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
  flex-grow: 1;
}

.update-cta {
  width: 100%;
  margin-top: auto;
}

/* Floating Controls */
.hero-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-carousel-control:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.hero-carousel-control.prev {
  left: 30px;
}

.hero-carousel-control.next {
  right: 30px;
}

/* Carousel Indicators */
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-carousel-dots .hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-carousel-dots .hero-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero-carousel-dots .hero-dot.active {
  background: var(--accent-cyan);
  width: 18px;
  border-radius: 4px;
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* Responsiveness for floating updates slider */
@media (max-width: 768px) {
  .hero-carousel-slide {
    width: 320px;
    min-width: 320px;
    margin: 0 15px;
  }
  .update-card {
    height: 440px;
  }
  .update-image-wrapper {
    height: 160px;
  }
  .hero-carousel-control.prev {
    left: 10px;
  }
  .hero-carousel-control.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-carousel-slide {
    width: 270px;
    min-width: 270px;
    margin: 0 10px;
  }
  .update-card {
    height: 420px;
  }
  .update-image-wrapper {
    height: 140px;
  }
  .update-title {
    font-size: 1.15rem;
  }
  .update-desc {
    font-size: 0.8rem;
  }
}

/* Split Hero layout rules */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  gap: 60px;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-content {
  flex: 1.2;
  text-align: left;
}

.hero-image-container {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-profile-pic-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 254, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatProfile 6s ease-in-out infinite;
}

.hero-profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-main);
}

.hero-profile-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

@keyframes floatProfile {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
    padding-top: 120px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-profile-pic-wrapper {
    width: 260px;
    height: 260px;
  }
}

/* Expandable Experience & Education cards */
.timeline-card {
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.timeline-card .timeline-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
  padding-left: 20px;
  text-align: left;
}

/* Expand details smoothly on card hover */
.timeline-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 15px 30px rgba(0, 242, 254, 0.08), 0 0 20px rgba(157, 78, 221, 0.05);
}

.timeline-card:hover .timeline-desc {
  max-height: 500px;
  opacity: 1;
  margin-top: 14px;
}

/* Infographic Flowchart styling inside articles */
.flowchart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
}

.flowchart-node {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(22, 30, 49, 0.45);
  border: 1px solid var(--border-color);
  padding: 14px 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 340px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
}

.flowchart-node:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 8px 20px rgba(0, 242, 254, 0.12);
  background: rgba(28, 40, 68, 0.55);
}

.node-icon {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.08);
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 242, 254, 0.15);
}

.node-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.node-label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

.node-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

.flowchart-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  animation: bounceArrow 2s infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}




