/* ==============================================
   THARUN ANDE | Digital Marketing Portfolio
   Premium Dark Theme — Master Stylesheet
   ============================================== */

/* ----- CSS Custom Properties ----- */
:root {
  --navy: #0B1020;
  --charcoal: #111827;
  --charcoal-light: #1A2332;
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --blue-dark: #2563EB;
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --white: #F8FAFC;
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(59, 130, 246, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow-blue: 0 4px 24px rgba(59, 130, 246, 0.15);
  --shadow-glow-purple: 0 4px 24px rgba(124, 58, 237, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-alt: 'Plus Jakarta Sans', sans-serif;
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-med: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --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);
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-light); }
::selection { background: var(--blue); color: #fff; }

/* ----- Preloader ----- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-ring {
  width: 48px; height: 48px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.preloader-text {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-alt);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Utility ----- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 64px; }

.section-label {
  font-family: var(--font-alt);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--blue);
  opacity: 0.3;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}
.text-gradient {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----- Reveal Animations ----- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-scale.active { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-med);
  border: none;
  position: relative;
  overflow: hidden;
  text-align: center;
  letter-spacing: 0.3px;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width 0.6s, height 0.6s;
}
.btn:active::after { width: 300px; height: 300px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-3px);
}
.btn-sm { padding: 10px 24px; font-size: 0.82rem; }
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* ----- Glass ----- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-med);
}
.nav.scrolled {
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav-logo span { font-weight: 300; -webkit-text-fill-color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: var(--transition-fast);
  border-radius: 2px;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--white); }
.nav-link.active::after { width: 100%; }
.nav-cta-link { color: var(--blue) !important; }
.nav-cta-link::after { display: none; }
.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-med);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  width: 28px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-med);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  opacity: 0.06;
  top: -20%; right: -15%;
  animation: floatGlow 25s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: var(--purple);
  opacity: 0.05;
  bottom: -20%; left: -15%;
  animation: floatGlow 25s ease-in-out infinite;
  animation-delay: -8s;
}
.hero-glow-3 {
  width: 350px; height: 350px;
  background: var(--blue);
  opacity: 0.04;
  top: 40%; left: 60%;
  animation: floatGlow 20s ease-in-out infinite;
  animation-delay: -16s;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 30px) scale(0.9); }
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: var(--blue-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.hero h1 .line2.highlight {
  background: linear-gradient(135deg, var(--blue), var(--purple-light), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmerText 4s ease-in-out infinite;
}
@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-typing-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.hero-typing-prefix {
  font-family: var(--font-alt);
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
}
.hero-typing {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--blue-light);
}
.hero-typing .cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--blue);
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 600px;
  line-height: 1.9;
  margin-bottom: 36px;
}
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 400;
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-ring {
  width: 320px;
  height: 400px;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(160deg, var(--blue), var(--purple), var(--blue-light));
  background-size: 200% 200%;
  animation: gradientBorder 6s ease-in-out infinite;
  position: relative;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.1);
}
@keyframes gradientBorder {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-lg) - 2px);
  overflow: hidden;
  background: var(--navy);
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  animation: floatBadge 6s ease-in-out infinite;
}
.hero-floating-badge i { color: var(--blue); font-size: 0.85rem; }
.badge-1 { top: 10%; right: -10%; animation-delay: 0s; }
.badge-2 { bottom: 20%; left: -15%; animation-delay: -2s; }
.badge-3 { bottom: 0; right: 10%; animation-delay: -4s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-alt);
  animation: bounceDown 2s ease-in-out infinite;
  z-index: 1;
}
.hero-scroll-indicator i { font-size: 0.7rem; }
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ========== ABOUT ========== */
.about { position: relative; }
.about::before {
  content: '';
  position: absolute;
  top: -30%; left: -10%;
  width: 400px; height: 400px;
  background: var(--purple);
  filter: blur(120px);
  opacity: 0.03;
  pointer-events: none;
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.about-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px auto;
  max-width: 700px;
}
.about-highlight {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition-med);
  text-align: center;
}
.about-highlight:hover {
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
  background: rgba(59, 130, 246, 0.02);
}
.about-highlight-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1rem;
  color: var(--blue-light);
}
.about-highlight h4 {
  font-family: var(--font-alt);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.about-highlight p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
  max-width: none;
}

/* ========== EXPERTISE ========== */
.expertise {
  background: var(--charcoal);
  position: relative;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.expertise-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
}
.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.12);
  box-shadow: var(--shadow-md);
}
.expertise-card-glow {
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: var(--transition-med);
  pointer-events: none;
  background: var(--blue);
}
.expertise-card:hover .expertise-card-glow { opacity: 0.05; }
.expertise-icon-wrapper {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.expertise-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.expertise-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
}
.expertise-list li i { color: var(--blue-light); font-size: 0.8rem; }

/* ========== MODULES ========== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.module-card {
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
  display: block;
}
.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  opacity: 0;
  transition: var(--transition-med);
}
.module-card:hover::before { opacity: 1; }
.module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.12);
  box-shadow: var(--shadow-md);
}
.module-card-bg {
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: var(--transition-med);
  pointer-events: none;
}
.module-card:hover .module-card-bg { opacity: 0.06; }
.module-card[data-color="purple"] .module-card-bg { background: var(--purple); }
.module-card[data-color="blue"] .module-card-bg { background: var(--blue); }
.module-card[data-color="green"] .module-card-bg { background: #10B981; }
.module-card[data-color="orange"] .module-card-bg { background: #F59E0B; }
.module-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.module-card-icon.purple { background: rgba(124, 58, 237, 0.1); color: var(--purple-light); }
.module-card-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue-light); }
.module-card-icon.green { background: rgba(16, 185, 129, 0.1); color: #34D399; }
.module-card-icon.orange { background: rgba(245, 158, 11, 0.1); color: #FBBF24; }
.module-card h4 {
  font-family: var(--font-alt);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.module-card p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}
.module-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.module-tag.purple { background: rgba(124, 58, 237, 0.1); color: var(--purple-light); }
.module-tag.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue-light); }
.module-tag.green { background: rgba(16, 185, 129, 0.1); color: #34D399; }
.module-tag.orange { background: rgba(245, 158, 11, 0.1); color: #FBBF24; }

/* ========== PROJECTS ========== */
.projects {
  background: var(--charcoal);
  position: relative;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--glass-border);
  transition: var(--transition-med);
  position: relative;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.12);
  box-shadow: var(--shadow-md);
}
.project-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--charcoal), var(--navy));
  position: relative;
  overflow: hidden;
}
.project-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-med);
}
.project-card:hover .project-card-image img { transform: scale(1.05); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(124, 58, 237, 0.3));
  opacity: 0;
  transition: var(--transition-med);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-med);
  transform: translateY(20px);
  font-size: 1rem;
}
.project-card:hover .project-link { transform: translateY(0); }
.project-link:hover { background: var(--blue); color: #fff; }
.project-card-body { padding: 20px 24px 24px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.project-tags span {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.05);
  color: var(--blue-light);
  border: 1px solid rgba(59, 130, 246, 0.06);
}
.project-card-body h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.project-card-body p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ========== SHOWREEL ========== */
.showreel { position: relative; }
.showreel-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.showreel-placeholder {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-med);
}
.showreel-placeholder:hover {
  border-color: var(--blue);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.08);
}
.showreel-thumb {
  position: absolute;
  inset: 0;
}
.showreel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.showreel-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 32, 0.85), transparent 50%);
}
.showreel-play-btn {
  position: relative;
  z-index: 2;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
  transition: var(--transition-med);
  animation: pulsePlay 2.5s ease-in-out infinite;
}
.showreel-placeholder:hover .showreel-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.5);
}
@keyframes pulsePlay {
  0%, 100% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.2); }
  50% { box-shadow: 0 0 60px rgba(59, 130, 246, 0.4); }
}
.showreel-overlay-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
}
.showreel-overlay-text h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.showreel-overlay-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== CERTIFICATIONS ========== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition-med);
  position: relative;
  overflow: hidden;
}
.cert-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  opacity: 0;
  transition: var(--transition-med);
}
.cert-card:hover::before { opacity: 0.025; }
.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.08);
}
.cert-card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(59, 130, 246, 0.06);
  color: var(--blue-light);
  position: relative;
  z-index: 1;
}
.cert-card h4 {
  font-family: var(--font-alt);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.cert-card p {
  font-size: 0.78rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}
.cert-card .cert-date {
  font-size: 0.7rem;
  color: var(--blue-light);
  margin-top: 10px;
  font-weight: 500;
  display: inline-block;
  padding: 3px 14px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.05);
  position: relative;
  z-index: 1;
}
.cert-date i { margin-right: 4px; font-size: 0.65rem; }

/* ========== TOOLS ========== */
.tools { background: var(--charcoal); }
.tools-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.tool-chip:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.08);
}
.tool-chip i { font-size: 0.9rem; }

/* ========== JOURNEY / TIMELINE ========== */
.journey { position: relative; }
.journey-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--purple), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 72px;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 18px;
  top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--blue);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--blue);
}
.timeline-item.active .timeline-dot {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.timeline-date {
  font-size: 0.75rem;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 6px;
  font-family: var(--font-alt);
  letter-spacing: 0.5px;
}
.timeline-content {
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition-med);
}
.timeline-content:hover {
  border-color: rgba(59, 130, 246, 0.1);
  transform: translateX(6px);
}
.timeline-content h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--charcoal);
  position: relative;
}
.testimonials-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  max-width: 720px;
  margin: 0 auto;
}
.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-card {
  flex: 0 0 100%;
  padding: 48px 40px;
}
.testimonial-stars {
  color: #F59E0B;
  margin-bottom: 16px;
  font-size: 0.85rem;
  letter-spacing: 4px;
}
.testimonial-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--blue);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-info h5 {
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-info span {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 0 24px;
}
.testimonials-nav button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.testimonials-nav button:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.06);
  color: var(--blue-light);
}
.testimonials-dots { display: flex; gap: 8px; }
.testimonials-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  padding: 0;
}
.testimonials-dots .dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: 4px;
}

/* ========== CONTACT ========== */
.contact { position: relative; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-wrapper {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.05);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394A3B8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--charcoal); color: var(--text); }
.form-submit { width: 100%; }
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  animation: fadeIn 0.5s ease;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  color: #34D399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}
.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.form-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contact Info */
.contact-info .contact-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  height: 100%;
}
.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.8;
}
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition-fast);
}
.contact-method:hover {
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateX(4px);
}
.contact-method-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue-light);
  flex-shrink: 0;
}
.contact-method-text .label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.contact-method-text .value {
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-method-text .value a {
  color: var(--blue-light);
  transition: var(--transition-fast);
}
.contact-method-text .value a:hover { color: var(--white); }
.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.contact-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-med);
  font-size: 1rem;
}
.contact-social a:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  transform: translateY(-3px);
  background: rgba(59, 130, 246, 0.03);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-tooltip {
  background: #25D366;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition-med);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.whatsapp-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-med);
  animation: whatsappPulse 2.5s ease-in-out infinite;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
  animation: none;
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
  transition: var(--transition-med);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 997;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.35);
}

/* ========== FOOTER ========== */
.footer {
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.03);
  text-align: center;
  background: var(--navy);
}
.footer-top { margin-bottom: 24px; }
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.footer-brand span { font-weight: 300; -webkit-text-fill-color: var(--text-dim); }
.footer-tagline {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--blue-light); }
.footer-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  margin: 0 auto 16px;
  border-radius: 2px;
}
.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ========== HERO RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero p { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; gap: 32px; }
  .hero-visual { display: none; }
  .hero-scroll-indicator { display: none; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11, 16, 32, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transition: var(--transition-med);
    border-left: 1px solid var(--glass-border);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.05rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }

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

  .expertise-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .projects-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat-value { font-size: 1.6rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; justify-content: center; }

  .testimonial-card { padding: 32px 24px; }
  .contact-form-wrapper,
  .contact-info .contact-card { padding: 24px; }
  .back-to-top { bottom: 100px; right: 16px; width: 40px; height: 40px; }
  .whatsapp-float { bottom: 24px; right: 16px; }
  .whatsapp-btn { width: 48px; height: 48px; font-size: 1.4rem; }
  .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .modules-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .module-card { padding: 20px 16px; }
  .module-card-icon { width: 40px; height: 40px; font-size: 1rem; }
  .module-card h4 { font-size: 0.82rem; }
  .module-card p { font-size: 0.72rem; }
  .certs-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
