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

:root {
  /* Hyper Creative Cyber Palette */
  --bg-main: #000000;
  --bg-card: rgba(10, 10, 15, 0.6);
  --border-card: rgba(0, 243, 255, 0.1);
  
  --accent-cyan: #00f3ff;
  --accent-purple: #bf00ff;
  --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #555566;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1200px;
  --radius-md: 16px;
}

/* Custom Cursor */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  * {
    cursor: none !important;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Custom Cursor Styles */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 243, 255, 0.5);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

/* Particle Background */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: var(--bg-main);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(191, 0, 255, 0.4);
}

/* Hyper Glass Panels with Animated Borders */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 32px;
  /* Glowing border setup */
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* The spinning glowing border */
.glass-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-md) + 2px);
  background: conic-gradient(from 0deg, transparent 70%, var(--accent-cyan) 85%, var(--accent-purple) 100%);
  z-index: -1;
  animation: spin 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  z-index: -1;
}

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

.glass-panel:hover {
  box-shadow: 0 20px 40px rgba(0, 243, 255, 0.15);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Buttons */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: transparent;
  color: #fff;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent-gradient);
  z-index: -1;
  transition: all 0.4s ease;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(191, 0, 255, 0.6);
  border-color: transparent;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.navbar-modern {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar-modern.scrolled {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 243, 255, 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.brand h1 {
  font-size: 22px;
  color: #fff;
  margin: 0;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0; height: 2px;
  bottom: -4px; left: 0;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

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

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.mobile-toggle {
  display: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 30px;
  color: var(--accent-cyan);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section-padding {
  padding: 120px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Service Cards */
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  transition: 0.4s;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.glass-panel:hover .service-icon {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 30px rgba(191, 0, 255, 0.6);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Portfolio Cards - Redesigned Showcase */
.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 243, 255, 0.2);
  border-color: rgba(0, 243, 255, 0.3);
}

.portfolio-img-wrapper {
  width: 100%;
  height: 250px; /* Fixed height for uniformity */
  padding: 16px;
  background: rgba(0, 0, 0, 0.8); /* Dark background to frame the image */
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the entire image is visible, neither cropped nor stretched */
  transition: transform 0.6s ease;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.portfolio-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Stack Section */
.tech-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tech-tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.tech-tab-btn.active, .tech-tab-btn:hover {
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.tech-grid {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  animation: fadeIn 0.4s ease-in-out;
}

.tech-grid.active {
  display: grid;
}

.tech-card {
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.tech-card i {
  font-size: 3rem;
  color: var(--text-primary);
  transition: all 0.3s;
}

.tech-card:hover i {
  color: var(--text-primary);
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
}

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

/* Process Timeline Section */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background: rgba(0, 243, 255, 0.2);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 60px;
}

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

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--accent-blue);
  border-radius: 50%;
  top: 50px;
  z-index: 1;
  box-shadow: 0 0 15px var(--accent-blue);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  padding: 30px;
  border-radius: 12px;
  text-align: left;
}

.phase-badge {
  display: inline-block;
  background: rgba(26, 115, 232, 0.2);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1px solid rgba(26, 115, 232, 0.5);
}

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

.phase-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.phase-meta {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phase-deliverables h4 {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.deliverable-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deliverable-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-primary);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  padding: 30px;
  text-align: left;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.client-avatar {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-details h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.client-details p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.highlight-badge {
  display: inline-block;
  background: rgba(0, 243, 255, 0.1);
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(0, 243, 255, 0.3);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.about-features i {
  color: var(--accent-cyan);
  font-size: 1.4rem;
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Team Section */
.team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-cyan);
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
  transition: 0.4s;
}

.glass-panel:hover .team-img {
  border-color: var(--accent-purple);
  box-shadow: 0 0 30px rgba(191, 0, 255, 0.5);
  transform: scale(1.05);
}

.team-card {
  text-align: center;
}

.team-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.team-card .role {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.team-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team-social a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: 0.3s;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-social a:hover {
  color: var(--text-primary);
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(0, 243, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer-modern {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 24px;
  background: #000;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 50px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 1.4rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.8);
  transform: translateY(-3px);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
  * { cursor: auto !important; }
  .cursor-dot, .cursor-outline { display: none !important; }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 16px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
  }

  .contact-container {
    padding: 24px;
  }

  .form-group {
    grid-column: span 2 !important;
  }

  .glass-panel {
    padding: 24px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 15, 20, 0.95);
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
  }

  /* Kill spinning gradient animation on mobile */
  .glass-panel::before {
    display: none !important;
    animation: none !important;
  }

  /* Kill scroll animations on mobile to save GPU */
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column;
    padding: 30px 0;
    gap: 24px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease-in-out;
  }
  
  .navbar-modern.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.98);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .mobile-toggle {
    display: block;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .footer-brand {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  
  .footer-brand img {
    width: 50px !important;
    height: auto;
    object-fit: contain;
  }

  /* Timeline Mobile Fix */
  .timeline-container::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px !important;
    padding-right: 20px !important;
    left: 0 !important;
  }
  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
}

/* UI Enhancements */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-cyan);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

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

  .back-to-top:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
    transform: translateY(-5px);
  }
  
  /* Enhanced Reveal Animations */
  .fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }