/* ============================================
   HOLOGRAM FUTURISTIC PORTFOLIO - MAIN STYLES
   ============================================ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d0d15;
  --bg-card: rgba(13, 13, 21, 0.7);
  --cyan: #00f0ff;
  --purple: #7b2ff7;
  --magenta: #ff00ff;
  --blue: #0066ff;
  --neon-cyan: 0 0 10px #00f0ff, 0 0 20px #00f0ff, 0 0 40px #00f0ff;
  --neon-purple: 0 0 10px #7b2ff7, 0 0 20px #7b2ff7, 0 0 40px #7b2ff7;
  --neon-magenta: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 40px #ff00ff;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-sm: 8px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--bg-primary);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }

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

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-primary);
  display: flex;
  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-inner {
  text-align: center;
}

.holo-logo {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1.5s linear infinite;
}

.logo-ring.ring-2 {
  inset: 10px;
  border-color: var(--purple);
  border-top-color: transparent;
  animation-direction: reverse;
  animation-duration: 2s;
}

.logo-ring.ring-3 {
  inset: 20px;
  border-color: var(--magenta);
  border-top-color: transparent;
  animation-duration: 1s;
}

.logo-icon {
  font-size: 2.5rem;
  color: var(--cyan);
  z-index: 2;
  text-shadow: var(--neon-cyan);
  animation: pulse-glow 2s ease-in-out infinite;
}

.scan-line {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 0 auto 20px;
  animation: scan 2s ease-in-out infinite;
}

.preloader-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-shadow: var(--neon-cyan);
}

.progress-bar {
  width: 250px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 0 auto 15px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--cyan);
}

.preloader-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan {
  0%, 100% { transform: translateX(-50px); opacity: 0; }
  50% { transform: translateX(50px); opacity: 1; }
}
@keyframes pulse-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
}

/* ============ BACKGROUND LAYERS ============ */
#threeCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.mouse-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  box-shadow: var(--neon-cyan);
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 240, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--magenta);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.8);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.6rem 0;
}

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

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

.logo-bracket {
  color: var(--cyan);
  text-shadow: var(--neon-cyan);
}

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

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
  animation: pulse-glow 2s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
  box-shadow: var(--neon-cyan);
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger .bar {
  width: 25px;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============ HERO ============ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  padding: 6rem 2rem 2rem;
}

.hero-container {
  text-align: center;
  max-width: 900px;
}

.hero-avatar {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  display: inline-block;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 3px solid var(--cyan);
  box-shadow: var(--neon-cyan);
}

.avatar-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.avatar-ring.ring-2 {
  inset: -20px;
  border-color: rgba(123, 47, 247, 0.3);
  animation-direction: reverse;
  animation-duration: 12s;
}

.avatar-ring.ring-3 {
  inset: -30px;
  border-color: rgba(255, 0, 255, 0.2);
  animation-duration: 16s;
}

.avatar-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.3));
}

.hero-title-wrapper {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 2rem;
}

.hero-prefix {
  color: var(--text-muted);
}

.hero-typing {
  color: var(--cyan);
  font-weight: 600;
}

.typing-cursor {
  color: var(--cyan);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  background: var(--glass-bg);
}

.hero-social a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--neon-cyan);
  transform: translateY(-3px);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
}

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

.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--neon-cyan);
}

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

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-3px);
}

/* ============ SECTIONS ============ */
.section {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.title-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  font-size: 1.2rem;
  box-shadow: var(--neon-cyan);
}

.title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* ============ GLASS CARD ============ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.03), transparent, rgba(123, 47, 247, 0.03));
  opacity: 0;
  transition: var(--transition);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.1);
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-avatar-wrapper {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--cyan);
  box-shadow: var(--neon-cyan);
}

.about-avatar {
  width: 100%;
  display: block;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-text h3 {
  font-family: var(--font-heading);
  color: var(--cyan);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: var(--neon-cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ SKILLS ============ */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.skill-category {
  padding: 1.5rem;
}

.skill-category h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.skill-item {
  margin-bottom: 1.2rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-name i {
  color: var(--cyan);
  width: 20px;
  text-align: center;
}

.skill-percentage {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--cyan);
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.skill-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 0 10px var(--cyan);
}

.skill-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: var(--neon-cyan);
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  text-align: center;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--cyan);
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--cyan);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--neon-cyan);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.service-features span {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 20px;
  color: var(--cyan);
}

/* ============ PROJECTS ============ */
.project-filters,
.blog-filters,
.cert-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 1px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--neon-cyan);
}

.project-search {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1.5rem 0.8rem 3rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
}

.project-thumb {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(123, 47, 247, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--cyan);
  position: relative;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 15, 0.9));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 0.8rem;
}

.project-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.project-links a:hover {
  background: var(--cyan);
  color: var(--bg-primary);
}

.project-info {
  padding: 1.5rem;
}

.project-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--purple);
  font-family: var(--font-heading);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.project-tech span {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: rgba(123, 47, 247, 0.1);
  border: 1px solid rgba(123, 47, 247, 0.2);
  border-radius: 10px;
  color: var(--purple);
}

.project-status {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-family: var(--font-heading);
}

.project-status.completed {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.project-status.in-progress {
  background: rgba(255, 200, 0, 0.1);
  color: #ffc800;
  border: 1px solid rgba(255, 200, 0, 0.2);
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  padding: 1rem 0;
}

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

.timeline-item {
  position: relative;
  width: 45%;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  margin-left: 5%;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--bg-primary);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  top: 2rem;
  box-shadow: var(--neon-cyan);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8%;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8%;
}

.timeline-item.current .timeline-dot {
  background: var(--cyan);
  animation: pulse-glow 2s infinite;
}

.timeline-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--purple);
  font-family: var(--font-heading);
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline-company {
  color: var(--cyan);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

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

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.timeline-tech {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.timeline-tech span {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 10px;
  color: var(--cyan);
}

/* ============ STATS BANNER ============ */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding: 3rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-align: center;
}

.stats-banner .stat-item {
  padding: 1rem;
}

.stats-banner .stat-number {
  font-size: 3rem;
}

/* ============ CERTIFICATES ============ */
.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.cert-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), rgba(123, 47, 247, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--cyan);
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-info {
  padding: 1.2rem;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.cert-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 15, 0.9));
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.gallery-overlay p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============ TESTIMONIALS ============ */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 0 2rem;
}

.testimonial-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.testimonial-stars {
  color: #ffc800;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  object-fit: cover;
}

.testimonial-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
}

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

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.testimonial-dot.active {
  background: var(--cyan);
  box-shadow: var(--neon-cyan);
}

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.blog-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.1), rgba(0, 240, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--purple);
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--purple);
  font-family: var(--font-heading);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateX(5px);
}

.contact-link i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.7rem;
  color: var(--cyan);
  background: var(--bg-primary);
  padding: 0 0.3rem;
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition);
  transform: translateX(-50%);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
  width: 100%;
}

.submit-btn {
  width: 100%;
  justify-content: center;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 10;
  padding: 4rem 0 0;
  border-top: 1px solid var(--glass-border);
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  box-shadow: 0 0 20px var(--cyan);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-flex;
  gap: 2px;
}

.footer-tagline {
  color: var(--text-muted);
  margin: 0.8rem 0;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--neon-cyan);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links nav a:hover {
  color: var(--cyan);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border);
}

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

.back-to-top {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
  transition: var(--transition);
}

.back-to-top:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: var(--neon-cyan);
  transform: translateY(-3px);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 80vw;
  max-height: 80vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--neon-cyan);
}

.lightbox-caption {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============ SCROLL INDICATOR ============ */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--cyan);
  border-radius: 12px;
  margin: 0 auto 0.5rem;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 2px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .timeline-item {
    width: calc(100% - 50px);
    margin-left: 50px !important;
  }

  .timeline-dot {
    left: -38px !important;
    right: auto !important;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
  }

  .nav-menu.active {
    right: 0;
  }

  .hero-name {
    letter-spacing: 3px;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

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

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

  .stats-banner {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem;
  }

  .stats-banner .stat-number {
    font-size: 2rem;
  }
}

/* ============ UTILITY ANIMATIONS ============ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 5px var(--cyan); }
  50% { box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}
