/* style.css ke top par ya root mein add karein */
html, body {
    overflow-x: hidden; /* Ye line mobile par side-scroll hona band kar degi */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ================================================
   ROOT VARIABLES & DESIGN SYSTEM
================================================ */
:root {
  --bg-primary: #0a0a16;
  --bg-secondary: #0d0d1f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(200, 80, 255, 0.3);

  --accent-purple: #c850ff;
  --accent-blue: #5b6cff;
  --accent-cyan: #00c4cc;
  --accent-green: #00e5a0;

  --gradient-main: linear-gradient(135deg, #5b6cff 0%, #c850ff 100%);
  --gradient-text: linear-gradient(90deg, #5b6cff 0%, #c850ff 100%);
  --gradient-purple: linear-gradient(135deg, #c850ff, #8b00ff);
  --gradient-cyan: linear-gradient(135deg, #00c4cc, #5b6cff);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);

  --font-primary: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-glow-purple: 0 0 30px rgba(200, 80, 255, 0.2);
  --shadow-glow-blue: 0 0 30px rgba(91, 108, 255, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
  --transition-slow: 0.6s ease;

  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ================================================
   UTILITY CLASSES
================================================ */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glow-purple), var(--shadow-card);
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ================================================
   ANIMATED CANVAS BACKGROUND
================================================ */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  pointer-events: none;
}

.bg-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(91, 108, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(200, 80, 255, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 90%, rgba(91, 108, 255, 0.08) 0%, transparent 70%);
}

/* ================================================
   FLOATING 3D SHAPES
================================================ */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-torus {
  width: 100px; height: 100px;
  top: 8%; left: 3%;
  background: radial-gradient(circle at 30% 30%, rgba(91,108,255,0.6), rgba(200,80,255,0.2));
  border-radius: 50%;
  border: 3px solid rgba(91,108,255,0.4);
  box-shadow: 0 0 40px rgba(91,108,255,0.3);
  animation-delay: 0s;
}

.shape-cube {
  width: 60px; height: 60px;
  top: 15%; right: 8%;
  background: rgba(91,108,255,0.15);
  border: 2px solid rgba(91,108,255,0.5);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(91,108,255,0.2);
  transform: rotate(20deg);
  animation-delay: -2s;
}

.shape-sphere {
  width: 80px; height: 80px;
  bottom: 20%; left: 5%;
  background: radial-gradient(circle at 35% 35%, rgba(200,80,255,0.5), rgba(91,108,255,0.1));
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(200,80,255,0.2);
  animation-delay: -4s;
}

.shape-gem {
  width: 50px; height: 50px;
  bottom: 30%; right: 5%;
  background: rgba(200,80,255,0.15);
  border: 2px solid rgba(200,80,255,0.4);
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(200,80,255,0.2);
  transform: rotate(45deg);
  animation-delay: -6s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

/* Small shapes for other sections */
.floating-shapes-sm {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.sm-shape {
  position: absolute;
  opacity: 0.6;
  animation: floatShape 10s ease-in-out infinite;
}

.sm-torus { width: 70px; height: 70px; top: 5%; right: 5%; background: radial-gradient(circle, rgba(91,108,255,0.4), transparent); border-radius: 50%; border: 2px solid rgba(91,108,255,0.3); animation-delay: -1s; }
.sm-cube { width: 40px; height: 40px; top: 15%; left: 3%; background: rgba(200,80,255,0.1); border: 2px solid rgba(200,80,255,0.3); border-radius: 8px; transform: rotate(30deg); animation-delay: -3s; }
.sm-sphere { width: 55px; height: 55px; bottom: 15%; right: 8%; background: radial-gradient(circle, rgba(200,80,255,0.3), transparent); border-radius: 50%; animation-delay: -5s; }
.sm-torus-r { width: 80px; height: 80px; top: 3%; right: 4%; background: radial-gradient(circle, rgba(91,108,255,0.3), transparent); border-radius: 50%; border: 2px solid rgba(91,108,255,0.3); }
.sm-sphere-r { width: 60px; height: 60px; bottom: 5%; left: 4%; background: radial-gradient(circle, rgba(200,80,255,0.25), transparent); border-radius: 50%; animation-delay: -4s; }
.sm-cube-r { width: 40px; height: 40px; top: 20%; left: 1%; background: rgba(91,108,255,0.1); border: 2px solid rgba(91,108,255,0.3); border-radius: 8px; transform: rotate(-20deg); animation-delay: -2s; }
.sm-hex { width: 55px; height: 55px; top: 5%; left: 4%; background: rgba(91,108,255,0.1); border: 2px solid rgba(91,108,255,0.3); border-radius: 12px; transform: rotate(45deg); }
.sm-sphere-sm { width: 45px; height: 45px; top: 8%; right: 3%; background: radial-gradient(circle, rgba(200,80,255,0.3), transparent); border-radius: 50%; animation-delay: -6s; }
.sm-cube-c { width: 50px; height: 50px; top: 10%; left: 2%; background: rgba(200,80,255,0.1); border: 2px solid rgba(200,80,255,0.3); border-radius: 10px; transform: rotate(25deg); animation-delay: -3s; }
.sm-sphere-c { width: 65px; height: 65px; bottom: 10%; right: 3%; background: radial-gradient(circle, rgba(91,108,255,0.25), transparent); border-radius: 50%; animation-delay: -7s; }

/* ================================================
   SECTION HEADERS
================================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 24px;
}

.title-line span {
  height: 1px;
  width: 80px;
  background: var(--gradient-main);
}

.title-line i {
  font-size: 1rem;
  color: var(--accent-purple);
  animation: spinGear 4s linear infinite;
}

@keyframes spinGear {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* ================================================
   NAVBAR
================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 22, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-med), border-color var(--transition-med);
}

.navbar.scrolled {
  background: rgba(10, 10, 22, 0.9);
  border-color: rgba(91, 108, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 0 20px rgba(200, 80, 255, 0.3);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: width var(--transition-med);
}

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

.nav-link.active::after,
.nav-link:hover::after {
  width: 60%;
}

.nav-cta {
  background: var(--gradient-main);
  color: white !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(200, 80, 255, 0.3);
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  box-shadow: 0 0 35px rgba(200, 80, 255, 0.5);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  width: 40px; height: 40px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-med);
}

.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); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(10, 10, 22, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-120%);
  transition: transform var(--transition-med);
  z-index: 999;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-link {
  padding: 12px 16px;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-link:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ================================================
   HERO SECTION
================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--nav-height) 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91, 108, 255, 0.1);
  border: 1px solid rgba(91, 108, 255, 0.3);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  max-width: fit-content;
  animation: fadeInDown 0.8s ease both;
  margin-top: 50px;    /* Yeh add kiya navbar se dur karne ke liye */
  margin-bottom: 30px; /* Yeh add kiya niche wale text se gap banane ke liye */
}

.hero-badge i { color: var(--accent-blue); }

.hero-heading {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  animation: fadeInUp 1.1s ease 0.3s both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-main);
  color: white;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-med);
  box-shadow: 0 0 30px rgba(200, 80, 255, 0.3);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(200, 80, 255, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition-med);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  background: rgba(200, 80, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-purple);
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1.2s ease 0.5s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}

.scroll-mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 5px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: var(--accent-purple);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

.scroll-indicator > .bi-arrow-down {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Hero Right */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s ease 0.3s both;
}

.profile-image-wrapper {
  position: relative;
  width: 380px;
  height: 480px;
  flex-shrink: 0;
}

.profile-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(200,80,255,0.25) 0%, rgba(91,108,255,0.15) 50%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
  z-index: 0;
  margin-top: -80px;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(91,108,255,0.3));
  margin-top: -80px;
}               

/* Floating Card */
.floating-card {
  position: absolute;
  bottom: -100px;
  right: 105px;
  max-width: 360px;
  z-index: 10;
  background: rgba(13, 13, 31, 0.85);
  border: 1px solid rgba(91, 108, 255, 0.3);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(91,108,255,0.2);
  /*animation: floatCard 6s ease-in-out infinite;*/
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-icon-wrap {
  width: 38px; height: 38px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.floating-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.floating-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-deco {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.3;
  align-self: flex-end;
  flex-shrink: 0;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================================================
   EXPERTISE SECTION
================================================ */
.expertise-section {
  position: relative;
  overflow: hidden;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.expertise-card {
  padding: 36px;
}

.expertise-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.expertise-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.tech-icon {
  background: linear-gradient(135deg, rgba(91,108,255,0.3), rgba(200,80,255,0.2));
  border: 1px solid rgba(91,108,255,0.4);
  color: var(--accent-blue);
  box-shadow: 0 0 30px rgba(91,108,255,0.2);
}

.pharma-icon {
  background: linear-gradient(135deg, rgba(200,80,255,0.3), rgba(91,108,255,0.2));
  border: 1px solid rgba(200,80,255,0.4);
  color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(200,80,255,0.2);
}

.expertise-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #5b6cff, #7a8fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pharma-title {
  background: linear-gradient(90deg, #c850ff, #e590ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.expertise-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.expertise-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.expertise-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.skill-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: all var(--transition-fast);
}

.skill-card:hover {
  border-color: rgba(91,108,255,0.3);
  background: rgba(91,108,255,0.05);
}

.skill-icon {
  font-size: 1.1rem;
  color: var(--accent-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.skill-card strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.skill-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tools Row */
.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tool-badge:hover {
  border-color: rgba(200,80,255,0.3);
  background: rgba(200,80,255,0.05);
  color: var(--text-primary);
}

/* Focus List */
.focus-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.focus-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.focus-item:hover {
  border-color: rgba(200,80,255,0.3);
  background: rgba(200,80,255,0.05);
}

.focus-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(200,80,255,0.2), rgba(91,108,255,0.1));
  border: 1px solid rgba(200,80,255,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.focus-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.focus-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Combine Banner */
.combine-banner {
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.combine-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(91,108,255,0.05), rgba(200,80,255,0.05));
  pointer-events: none;
}

.combine-icon {
  width: 56px; height: 56px;
  background: var(--gradient-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.combine-text h3 {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.combine-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.combine-deco {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.15;
  margin-left: auto;
  flex-shrink: 0;
}

/* ================================================
   JOURNEY SECTION (TIMELINE)
================================================ */
.journey-section {
  position: relative;
  overflow: hidden;
}

.timeline {
  position: relative;
  padding: 20px 0 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--accent-blue), var(--accent-purple), transparent);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item.left {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.timeline-item.right {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 20px;
  background: var(--gradient-main);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 20px rgba(200,80,255,0.5);
  z-index: 2;
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 35px rgba(200,80,255,0.7);
}

.timeline-content {
  padding: 28px;
  max-width: 400px;
  width: 100%;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-style: solid;
}

.timeline-item.left .timeline-content::before {
  right: -16px;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(255,255,255,0.05);
}

.timeline-item.right .timeline-content::before {
  left: -16px;
  border-width: 10px 16px 10px 0;
  border-color: transparent rgba(255,255,255,0.05) transparent transparent;
}

.timeline-year {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-purple);
  background: rgba(200,80,255,0.1);
  border: 1px solid rgba(200,80,255,0.2);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.timeline-icon-wrap {
  display: none;
}

.timeline-content h3 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.timeline-content p,
.timeline-content ul {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-list {
  list-style: disc;
  padding-left: 16px;
}

.timeline-list li {
  margin-bottom: 6px;
}

.timeline-list strong {
  color: var(--accent-purple);
}

/* Journey CTA */
.journey-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.journey-cta-icon {
  width: 52px; height: 52px;
  background: var(--gradient-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.journey-cta-text {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.journey-cta p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ================================================
   TECH INITIATIVES SECTION
================================================ */
.initiatives-section {
  position: relative;
  overflow: hidden;
}

.project-card {
  padding: 36px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.closed-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 180, 0, 0.1);
  color: #ffb400;
  border: 1px solid rgba(255, 180, 0, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.project-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.project-logo {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.opti-logo {
  background: linear-gradient(135deg, rgba(91,108,255,0.3), rgba(200,80,255,0.2));
  border: 1px solid rgba(91,108,255,0.4);
  color: var(--accent-blue);
}

.attend-logo {
  background: linear-gradient(135deg, rgba(0,229,160,0.25), rgba(91,108,255,0.15));
  border: 1px solid rgba(0,229,160,0.4);
  color: var(--accent-green);
}

.project-name {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.project-tagline {
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 4px;
}

.attend-tagline {
  color: var(--accent-green);
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.75;
}

.project-features-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
  margin-bottom: 12px;
}

.project-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.project-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.project-features .bi-check-circle-fill {
  color: var(--accent-purple);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Tech Stack Tags */
.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: rgba(91,108,255,0.4);
  background: rgba(91,108,255,0.08);
  color: var(--text-primary);
}

.attend-tag:hover {
  border-color: rgba(0,229,160,0.4);
  background: rgba(0,229,160,0.05);
}

/* Mockup Window */
.project-mockup {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.mockup-window {
  background: #0d0d1f;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 140px 1fr;
  min-height: 380px;
  font-size: 0.72rem;
}

.attend-window {
  grid-template-columns: 130px 1fr;
}

.mockup-titlebar {
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Sidebar */
.mockup-sidebar {
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-logo {
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--accent-blue);
  margin-bottom: 16px;
  padding: 0 6px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sidebar-item.active {
  background: rgba(91,108,255,0.15);
  color: var(--accent-blue);
}

.sidebar-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
}

.attend-sidebar {
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Mockup Main */
.mockup-main {
  padding: 16px;
  overflow: hidden;
}

.mockup-search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.mockup-search-bar span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.mockup-search-bar button {
  background: var(--gradient-main);
  color: white;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.6rem;
}

.mockup-help-text {
  font-weight: 600;
  font-size: 0.72rem;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.mockup-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.mf-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 8px;
}

.mf-card i {
  font-size: 0.8rem;
  color: var(--accent-purple);
  margin-bottom: 4px;
}

.mf-card strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mf-card p {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.mockup-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mockup-activity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 6px 10px;
}

.activity-item p { font-size: 0.65rem; color: var(--text-secondary); }
.activity-item small { font-size: 0.58rem; color: var(--text-muted); }

/* Attendance Mockup */
.attend-main {
  padding: 14px;
}

.attend-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.stat-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}

.stat-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.live-recognition {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.recognition-cam {
  width: 60px; height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(0,229,160,0.4);
  flex-shrink: 0;
}

.recognition-cam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recognized-badge {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.recognized-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}

.recognized-info {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.attend-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.62rem;
}

.attend-table th {
  color: var(--text-muted);
  text-align: left;
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.attend-table td {
  padding: 5px 6px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.status-present {
  background: rgba(0,229,160,0.1);
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.58rem;
  font-weight: 600;
}

/* Stepping Stones */
.stepping-stones {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  position: relative;
  z-index: 1;
}

.ss-icon {
  width: 52px; height: 52px;
  background: var(--gradient-main);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stepping-stones p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================================================
   CONNECT SECTION
================================================ */
.connect-section {
  position: relative;
  overflow: hidden;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.contact-info {
  padding: 36px;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.contact-item:hover {
  border-color: rgba(91,108,255,0.3);
  background: rgba(91,108,255,0.05);
}

.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.email-icon { background: rgba(91,108,255,0.2); color: var(--accent-blue); border: 1px solid rgba(91,108,255,0.3); }
.linkedin-icon { background: rgba(0,119,181,0.2); color: #0a66c2; border: 1px solid rgba(0,119,181,0.3); }
.location-icon { background: rgba(200,80,255,0.2); color: var(--accent-purple); border: 1px solid rgba(200,80,255,0.3); }
.avail-icon { background: rgba(0,229,160,0.15); color: var(--accent-green); border: 1px solid rgba(0,229,160,0.3); }

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.contact-item small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Contact Mission */
.glass-card-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(91,108,255,0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mission-icon {
  width: 44px; height: 44px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mission-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-purple);
  margin-bottom: 6px;
}

.glass-card-inner p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrap {
  padding: 36px;
}

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

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

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

.form-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input-wrap > i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
  transition: color var(--transition-fast);
}

.form-input-wrap:focus-within > i {
  color: var(--accent-purple);
}

.form-input-wrap input,
.form-input-wrap textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 13px 14px 13px 40px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input-wrap textarea {
  resize: vertical;
  min-height: 130px;
}

.textarea-wrap {
  align-items: flex-start;
}

.textarea-wrap > i {
  top: 14px;
}

.form-input-wrap input:focus,
.form-input-wrap textarea:focus {
  border-color: rgba(200,80,255,0.4);
  box-shadow: 0 0 20px rgba(200,80,255,0.1);
}

.form-input-wrap input::placeholder,
.form-input-wrap textarea::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-success {
  background: rgba(0,229,160,0.1);
  border: 1px solid rgba(0,229,160,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social Section */
.social-section {
  padding: 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.social-section h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.social-divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  margin: 0 auto 32px;
}

.social-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
  color: var(--text-secondary);
}

.social-card i {
  font-size: 1.6rem;
  transition: color var(--transition-fast);
}

.social-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.social-card small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.social-card:hover {
  border-color: rgba(200,80,255,0.4);
  background: rgba(200,80,255,0.06);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-purple);
}

#social-github:hover i { color: #fff; }
#social-instagram:hover i { color: #e4405f; }
#social-twitter:hover i { color: #fff; }
#social-youtube:hover i { color: #ff0000; }
#social-medium:hover i { color: #fff; }

/* ================================================
   FOOTER
================================================ */
.footer {
  background: rgba(5, 5, 15, 0.8);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-tagline-accent {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-purple);
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-contact-item:hover {
  color: var(--accent-blue);
}

.footer-contact-item i {
  color: var(--accent-purple);
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================================================
   BACK TO TOP
================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 0 25px rgba(200,80,255,0.4);
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-med);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(200,80,255,0.6);
}

/* ================================================
   SCROLL REVEAL ANIMATION
================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtext {
    max-width: 100%;
  }

  .hero-right {
    justify-content: center;
  }

  .profile-image-wrapper {
    width: 300px;
    height: 380px;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 400px;
    margin: 0 auto;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .connect-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section { padding: 70px 0; }

  .hero-section {
    padding-top: calc(var(--nav-height) + 20px);
  }

  .hero-heading {
    font-size: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item.left,
  .timeline-item.right {
    justify-content: flex-start;
    padding-left: 52px;
    padding-right: 0;
  }

  .timeline-item.left .timeline-content::before,
  .timeline-item.right .timeline-content::before {
    display: none;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    max-width: 100%;
  }

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

  .project-mockup {
    display: none;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .attend-stats {
    grid-template-columns: 1fr 1fr;
  }

  .social-grid {
    gap: 10px;
  }

  .social-card {
    width: 80px;
    padding: 14px 10px;
  }

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

  .combine-banner {
    flex-direction: column;
    text-align: center;
  }

  .journey-cta {
    flex-direction: column;
    text-align: center;
  }

  .stepping-stones {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .logo-text {
    display: none;
  }
}

/* ========== 3D INFINITE CAROUSEL ========== */
.cert-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cert-3d-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    perspective: 1200px; /* Yeh 3D tilt effect ke liye zaroori hai */
}

.cert-3d-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 100%;
    transform-style: preserve-3d;
}

/* Base Card Style */
.cert-3d-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 460px; 
    margin-left: -230px; 
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.6) translateX(0) rotateY(0deg);
    z-index: 1;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, box-shadow 0.6s ease, z-index 0s 0.3s;
    background: rgba(10, 10, 22, 0.9);
}

/* CENTER CARD (Active) - Balanced Glow All Around */
.cert-3d-card.active {
    opacity: 1;
    transform: scale(1) translateX(0) rotateY(0deg);
    z-index: 3;
    pointer-events: auto;
    /* Yeh raha balanced glow: thoda spread har taraf */
    box-shadow: 0 0 35px rgba(91, 108, 255, 0.35), 0 0 10px rgba(91, 108, 255, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, box-shadow 0.6s ease, z-index 0s;
}

/* LEFT CARD (Previous) - 3D Tilt Effect */
.cert-3d-card.prev {
    opacity: 0.6;
    transform: scale(0.8) translateX(-65%) rotateY(25deg);
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, z-index 0s;
}

/* RIGHT CARD (Next) - 3D Tilt Effect */
.cert-3d-card.next {
    opacity: 0.6;
    transform: scale(0.8) translateX(65%) rotateY(-25deg);
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, z-index 0s;
}

.cert-3d-card.prev:hover, .cert-3d-card.next:hover {
    opacity: 0.9;
}

/* Image Container */
.cert-3d-image {
    position: relative;
    width: 100%;
    height: 280px; 
    background: #ffffff; /* White bg for better cert visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px 20px 0 0;
}

.cert-3d-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 10px;
}

/* Google Badge Overlay */
.badge-overlay {
    position: absolute !important;
    top: 15px;
    right: 15px;
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    background: transparent;
    padding: 0 !important;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
    pointer-events: none;
}

/* Preview (Eye) Button */
.preview-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 22, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    opacity: 0; /* Hidden by default */
    transform: scale(0.8);
}

.cert-3d-card.active .cert-3d-image:hover .preview-btn {
    opacity: 1;
    transform: scale(1);
}

.preview-btn:hover {
    background: var(--gradient-main);
    box-shadow: 0 0 15px rgba(91, 108, 255, 0.5);
}

/* Content Area */
.cert-3d-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.cert-3d-content h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 10px;
}

.cert-3d-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Full Screen Modal */
.cert-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.cert-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: #ff5f57;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--gradient-main);
    box-shadow: 0 0 20px rgba(91, 108, 255, 0.4);
}

.prev-btn { left: 5%; }
.next-btn { right: 5%; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cert-3d-card { width: 320px; margin-left: -160px; height: 500px; }
    .cert-3d-card.prev { transform: scale(0.8) translateX(-40%) rotateY(20deg); opacity: 0;} 
    .cert-3d-card.next { transform: scale(0.8) translateX(40%) rotateY(-20deg); opacity: 0;}
    .preview-btn { opacity: 1; } /* Always show eye button on mobile */
}

/* ========== PRINT OPTIMIZATION (For Ctrl + P) ========== */
@media print {
    /* 1. Force White Background & Black Text */
    body, .glass-card, section, .timeline-content, .cert-3d-card {
        background: #ffffff !important;
        color: #000000 !important;
        box-shadow: none !important;
        border: 1px solid #dddddd !important;
    }

    h1, h2, h3, h4, p, span, div, a {
        color: #000000 !important;
        text-shadow: none !important;
    }

    /* 2. Hide Unnecessary Web Elements (Buttons, Navbar, Scroll UI) */
    nav, header, .scroll-indicator, .hero-buttons, .carousel-btn, .preview-btn, .badge-overlay, .title-line {
        display: none !important;
    }

    /* 3. Fix 3D Carousel & Make it a Simple Grid for Paper */
    .cert-3d-wrapper {
        height: auto !important;
        perspective: none !important;
        display: block !important;
        margin-top: 0 !important;
    }
    
    .cert-3d-container {
        transform-style: flat !important;
        display: block !important;
    }

    .cert-3d-card {
        position: relative !important;
        left: 0 !important;
        margin: 0 auto 20px auto !important;
        transform: none !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 500px !important;
        page-break-inside: avoid !important;
        pointer-events: none !important;
    }

    /* 4. Fix Layout Breaks */
    section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }

    .hero-container {
        flex-direction: column !important;
        text-align: center !important;
    }

    .hero-image-wrap {
        margin-top: 20px !important;
    }
}
@media (max-width: 768px) {
    /* Padding kam karein taaki mobile par saans lene ki jagah mile */
    .section {
        padding: 40px 15px !important; 
    }

    /* Cert-3d-card jo screen se bahar nikal raha hai, uska margin fix karein */
    .cert-3d-card {
        width: 90% !important; /* Fixed 320px hata kar 90% karein */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Container spill na kare */
    .container {
        width: 100% !important;
        padding: 0 15px !important;
    }
}
