/* ==========================================================================
   STYLE.CSS - Ahmed Techie Portfolio Design System
   ========================================================================== */

/* 1. DESIGN VARIABLES & CONFIGURATIONS */
:root {
  /* Color Palettes */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0d0d14;
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.09);
  
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --color-accent-start: #00d4ff;
  --color-accent-end: #0066ff;
  --color-secondary: #7b2fff;
  
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(255, 255, 255, 0.18);
  
  --shadow-neon: 0 10px 30px rgba(0, 212, 255, 0.25);
  --shadow-neon-hover: 0 15px 35px rgba(0, 212, 255, 0.45);
  --shadow-purple: 0 10px 30px rgba(123, 47, 255, 0.25);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.5);

  /* Fonts */
  --font-primary: 'Poppins', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;
}

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

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

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

/* Base link / list styles */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-medium);
}

ul, ol {
  list-style: none;
}

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

/* 3. GLOWING DECORATIVE BACKGROUNDS & OVERLAY */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  top: -100px;
  left: -100px;
  width: 384px;
  height: 384px;
  background: #00d4ff;
  opacity: 0.1;
  filter: blur(120px);
}

.orb-2 {
  bottom: -100px;
  right: -100px;
  width: 384px;
  height: 384px;
  background: #7b2fff;
  opacity: 0.1;
  filter: blur(120px);
}

.orb-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: #0066ff;
  opacity: 0.05;
  filter: blur(150px);
}

/* 4. DESIGN PATTERNS - CARDS & BUTTONS */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px; /* rounded-2xl */
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-medium), border-color var(--transition-medium), background var(--transition-medium), box-shadow var(--transition-medium);
  box-shadow: var(--shadow-glass);
}

.glass-card:hover {
  transform: translateY(-6px);
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.08);
}

/* Bottom sliding border for glass cards */
.glass-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-start), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
  z-index: 2;
}

.glass-card:hover::after {
  transform: scaleX(1);
}

/* Custom Text utilities */
.text-accent {
  color: var(--color-accent-start);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent-start) 0%, var(--color-secondary) 50%, var(--color-accent-start) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.text-glow {
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px; /* rounded-xl */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-medium);
  text-align: center;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--color-accent-start) 0%, var(--color-accent-end) 100%);
  color: #000000;
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

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

.btn-full {
  width: 100%;
}

/* 5. HEADER STYLING (NAVBAR) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-medium);
  padding: 24px 0;
  background: rgba(10, 10, 15, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-accent-start) 0%, var(--color-accent-end) 100%);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px rgba(0, 102, 255, 0.25);
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1.15rem;
}

.logo-icon i {
  color: #ffffff !important;
  font-style: normal;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  background: linear-gradient(to right, #ffffff, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 5px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-start), var(--color-secondary));
  transition: width var(--transition-medium);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.nav-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-medium);
}

/* 6. HERO SECTION */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--color-accent-start) 0%, transparent 70%);
  top: 15%;
  right: 15%;
}

.orb-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
  bottom: 10%;
  left: 10%;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent-start);
  margin-bottom: 25px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #00d4ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d4ff;
  animation: pulse-ring 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.typewriter-prefix {
  font-weight: 400;
}

.typewriter-text {
  color: var(--color-accent-start);
  border-right: 2px solid var(--color-accent-start);
  padding-right: 4px;
}

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

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

/* Scroll down indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 10;
}

.scroll-arrow {
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* 7. SECTION STRUCTURAL LAYOUT */
section {
  padding: 100px 20px;
  position: relative;
}

.section-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.section-subtitle {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.header-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-start), var(--color-secondary));
  margin: 15px auto 0;
  border-radius: 5px;
}

/* 8. ABOUT SECTION CSS */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 1px solid var(--color-accent-start);
  border-radius: 20px;
  z-index: -1;
  pointer-events: none;
}

.about-profile-img {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--color-accent-start) 0%, var(--color-secondary) 100%);
  color: #000000;
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-neon);
}

.exp-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

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

.skills-wrapper {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-bar-bg {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent-start), var(--color-secondary));
  border-radius: 10px;
  width: 0; /* Animated dynamically by observer */
  transition: width 1.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Stat Counters Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.stat-icon {
  font-size: 1.8rem;
  color: var(--color-accent-start);
  margin-bottom: 10px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-number::after {
  content: '+';
  color: var(--color-secondary);
}

.stat-card:last-child .stat-number::after {
  content: '%';
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 9. SERVICES SECTION CSS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon-font {
  font-size: 1.6rem;
  color: var(--color-accent-start);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

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

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.service-features-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 15px;
  display: flex;
  justify-content: flex-start;
}

.btn-card-learn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-accent-start);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-card-learn:hover {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* 10. PORTFOLIO SECTION CSS */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  transition: all var(--transition-medium);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--color-accent-start) 0%, var(--color-accent-end) 100%);
  color: #000000;
  border-color: transparent;
  box-shadow: var(--shadow-neon);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  padding: 0;
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.8);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity var(--transition-medium);
}

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

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

.project-overlay-content {
  text-align: center;
}

.project-category-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-start);
  border: 1px solid var(--color-accent-start);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.project-desc-short {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 4px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

.btn-project-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-start);
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.btn-project-link:hover {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* 11. TESTIMONIALS SECTION CSS */
.testimonials-slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  height: 320px; /* Max responsive card container bound */
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.testimonial-rating {
  color: #ffb400;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.author-position {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.slider-dot.active {
  background-color: var(--color-accent-start);
  width: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-neon);
}

/* 12. BLOG PREVIEW AND FULL ARCHIVE */
.blog-listing-hero {
  padding: 160px 20px 60px;
  text-align: center;
}

.blog-page-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid-section {
  padding: 40px 20px 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.blog-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(123, 47, 255, 0.05);
  border: 1px solid rgba(123, 47, 255, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
}

.blog-read-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

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

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 15px;
}

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

.btn-read-more {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent-start);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-read-more:hover {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.blog-more-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.blog-cta-banner {
  padding-bottom: 100px;
}

.cta-banner-wrapper {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.cta-banner-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.cta-banner-wrapper p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* SINGLE BLOG POST STYLES */
.blog-single-post-section {
  padding: 140px 20px 100px;
}

.blog-post-container {
  max-width: 820px;
  margin: 0 auto;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.btn-back-link:hover {
  color: var(--color-accent-start);
}

.single-post-card {
  padding: 45px;
}

.post-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 30px;
  margin-bottom: 35px;
}

.post-meta-top {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.post-detail-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-name-text {
  font-weight: 600;
  color: var(--color-accent-start);
}

.author-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-right: 5px;
}

/* Micro-Markdown compiled content spacing */
.post-content-body {
  line-height: 1.8;
  color: #dbdbe8;
  font-size: 1.05rem;
}

.post-paragraph {
  margin-bottom: 24px;
}

.post-heading-3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin: 40px 0 16px;
  border-left: 3px solid var(--color-accent-start);
  padding-left: 12px;
}

.post-list {
  margin: 20px 0 28px 20px;
  list-style-type: none;
}

.post-list-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.post-list-item::before {
  content: "•";
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 1.3rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.post-footer-sharing {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.share-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.share-buttons {
  display: flex;
  gap: 15px;
}

.share-buttons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.share-buttons a:hover {
  background: var(--bg-secondary);
  color: var(--color-accent-start);
  border-color: var(--color-accent-start);
}

.related-posts-section {
  margin-top: 60px;
}

.related-section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 30px;
}

/* 13. STANDALONE & EMBEDDED CONTACT FORM MODULARS */
.contact-standalone-hero {
  padding: 160px 20px 50px;
  text-align: center;
}

.contact-page-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid-section {
  padding: 30px 20px 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-info-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(123, 47, 255, 0.05);
  border: 1px solid rgba(123, 47, 255, 0.15);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-details p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.availability-panel-card {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #25d366;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #25d366;
}

.pulse-badge .status-dot {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Floating Label Interactive Inputs */
.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-control {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-medium);
}

.form-control:focus {
  border-color: var(--color-accent-start);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.08);
}

.select-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0a0ba'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  padding-right: 40px;
}

.text-control {
  resize: vertical;
}

/* Label Transitions */
.form-label {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  pointer-events: none;
  transition: transform var(--transition-medium), font-size var(--transition-medium), color var(--transition-medium);
  transform-origin: left top;
}

/* Float logic */
.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-24px) scale(0.8);
  color: var(--color-accent-start);
  font-weight: 500;
}

/* Special select positioning */
.select-control ~ .form-label {
  transform: translateY(-24px) scale(0.8);
  color: var(--text-secondary);
}

.select-control:focus ~ .form-label {
  color: var(--color-accent-start);
}

.form-error-msg {
  font-size: 0.75rem;
  color: #ff3b30;
  margin-top: 5px;
  display: none;
}

/* Alerts styling */
.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: rgba(37, 211, 102, 0.05);
  border: 1px solid rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.alert-danger {
  background: rgba(255, 59, 48, 0.05);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}

/* 14. WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99;
  cursor: pointer;
  transition: transform var(--transition-medium);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.35;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: #12121c;
  color: #ffffff;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* 15. FOOTER STYLING */
.footer-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background-color: #08080c;
  padding: 80px 20px 40px;
}

.footer-container {
  max-width: var(--container-width);
  width: 90%;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 25px;
  max-width: 320px;
}

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

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.footer-socials a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-accent-start);
  border-color: var(--color-accent-start);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-secondary);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-links i {
  font-size: 0.7rem;
  color: var(--color-accent-start);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.footer-contact-details li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-details i {
  color: var(--color-accent-start);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(18, 18, 28, 0.85);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-medium);
  z-index: 98;
}

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

.back-to-top-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-purple);
  transform: translateY(-4px);
}

/* Mobile responsive class helpers */
.d-none-mobile {
  display: flex;
}

/* ==========================================================================
   HIGH-TECH FUTURISTIC & STUNNING OVERRIDES
   ========================================================================== */

/* 1. Custom Futuristic Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #040406;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-accent-start) 0%, var(--color-secondary) 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-start);
  box-shadow: 0 0 15px var(--color-accent-start);
}

/* 2. Interactive Pointer Spotlight Trailing */
.pointer-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 500px at var(--pointer-x, -999px) var(--pointer-y, -999px), rgba(0, 212, 255, 0.045), rgba(123, 47, 255, 0.015) 50%, transparent 100%);
}

/* 3. Cyber Laser Scanning Line */
.cyber-scanner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), var(--color-accent-start), rgba(123, 47, 255, 0.4), transparent);
  box-shadow: 0 0 10px var(--color-accent-start), 0 0 20px rgba(0, 212, 255, 0.2);
  pointer-events: none;
  z-index: 999;
  animation: scanning-move 12s linear infinite;
  opacity: 0.4;
}

@keyframes scanning-move {
  0% { transform: translateY(-10vh); }
  100% { transform: translateY(110vh); }
}

/* 4. Modular Floating Glass Capsule Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: var(--container-width);
  border-radius: 50px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 14px 28px;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled {
  top: 12px;
  padding: 10px 24px;
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.05);
}

/* 5. Sleek Technical Corner Framing */
.tech-corner-frame {
  position: relative;
}

.tech-corner-frame::before, .tech-corner-frame::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-accent-start);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

/* Top-Left Bracket */
.tech-corner-frame::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

/* Bottom-Right Bracket */
.tech-corner-frame::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.tech-corner-frame:hover::before, .tech-corner-frame:hover::after {
  width: 18px;
  height: 18px;
  border-color: var(--color-secondary);
  filter: drop-shadow(0 0 6px var(--color-secondary));
}

/* Secondary corner set for cards */
.tech-corner-frame-alt {
  position: relative;
}

.tech-corner-frame-alt::before, .tech-corner-frame-alt::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(123, 47, 255, 0.4);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Top-Right Bracket */
.tech-corner-frame-alt::before {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

/* Bottom-Left Bracket */
.tech-corner-frame-alt::after {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

/* 6. Active Nav Link Cyber Dot indicator */
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent-start);
  box-shadow: 0 0 10px var(--color-accent-start);
}

/* 7. Enhanced Card Spotlights & Borders */
.glass-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid rgba(0, 212, 255, 0.08) !important;
  background: rgba(13, 13, 20, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 255, 0.05), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(0, 212, 255, 0.3) !important;
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.08), 0 0 30px rgba(0, 212, 255, 0.04) !important;
}

/* Modern project-card tag hover animations for technology stacks */
.project-card .tag-badge {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Subtle dot inside tag badge */
.project-card .tag-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-accent-start);
  box-shadow: 0 0 6px var(--color-accent-start);
  transition: all 0.3s ease;
}

.project-card:hover .tag-badge {
  background: rgba(0, 212, 255, 0.08) !important;
  border-color: rgba(0, 212, 255, 0.25) !important;
  color: var(--color-accent-start) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 212, 255, 0.08);
}

.project-card:hover .tag-badge::before {
  background-color: var(--color-secondary);
  box-shadow: 0 0 8px var(--color-secondary);
  transform: scale(1.2);
}

body.light-theme .project-card:hover .tag-badge {
  background: rgba(123, 47, 255, 0.06) !important;
  border-color: rgba(123, 47, 255, 0.2) !important;
  color: var(--color-secondary) !important;
}

body.light-theme .project-card:hover .tag-badge::before {
  background-color: var(--color-accent-start);
  box-shadow: 0 0 8px var(--color-accent-start);
}

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

/* 8. Tech Icon Halo */
.service-icon-wrapper {
  position: relative;
  z-index: 1;
}

.service-icon-wrapper::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon-wrapper::after {
  transform: scale(1.3);
}

/* 9. Glow Orbs Enhancement */
.glow-orb {
  mix-blend-mode: plus-lighter;
  animation: float-slow 15s infinite ease-in-out;
}

.orb-1 {
  animation-delay: 0s;
}

.orb-2 {
  animation-delay: -5s;
}

/* 10. Stunning Heading Underlines */
.header-underline {
  position: relative;
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 15px auto 0;
  border-radius: 4px;
}

.header-underline::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 6px;
  background: linear-gradient(90deg, var(--color-accent-start), var(--color-secondary));
  border-radius: 10px;
  box-shadow: 0 0 10px var(--color-accent-start);
}

/* 11. Custom Technical Badges */
.hero-badge {
  background: rgba(0, 212, 255, 0.05) !important;
  border: 1px solid rgba(0, 212, 255, 0.25) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.08);
}

/* 12. Subtle Fixed Top Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent-start), var(--color-secondary));
  z-index: 1100; /* Higher than navbar */
  box-shadow: 0 0 12px var(--color-accent-start), 0 0 6px var(--color-secondary);
  transition: width 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* ==========================================================================
   13. LIGHT THEME OVERRIDES & SEAMLESS MODE SWITCHING
   ========================================================================== */
body, section, .glass-card, .navbar, .nav-link, h1, h2, h3, h4, p, span, a, input, textarea, button {
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme {
  --bg-primary: #f6f8fc;
  --bg-secondary: #ffffff;
  --bg-glass: rgba(0, 0, 0, 0.03);
  --bg-glass-hover: rgba(0, 0, 0, 0.06);
  
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-hover: rgba(0, 0, 0, 0.16);
  
  --shadow-glass: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body.light-theme .navbar {
  background: rgba(246, 248, 252, 0.7);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-theme .navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 0 15px rgba(0, 212, 255, 0.03);
}

body.light-theme .footer-section {
  background-color: #ededf3;
  border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-theme .glass-card {
  background: rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .glass-card:hover {
  border-color: rgba(0, 212, 255, 0.4) !important;
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.08), 0 0 25px rgba(0, 212, 255, 0.03) !important;
}

body.light-theme .project-overlay {
  background: rgba(255, 255, 255, 0.9);
}

body.light-theme .project-desc-short {
  color: #1f2937;
}

body.light-theme .tag-badge {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
  color: #374151;
}

body.light-theme .grid-overlay {
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  opacity: 0.8;
}

body.light-theme .hero-section::before {
  opacity: 0.1;
}

body.light-theme .whatsapp-tooltip {
  background-color: #ffffff;
  color: #111827;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   14. INTERACTIVE SUN/MOON THEME TOGGLE BUTTON
   ========================================================================== */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-right: 12px;
}

.theme-toggle-btn:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--color-accent-start);
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.theme-icon {
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.theme-icon-moon {
  opacity: 0;
  transform: scale(0) rotate(-90deg);
}

.light-theme .theme-icon-sun {
  opacity: 0;
  transform: scale(0) rotate(90deg);
}

.light-theme .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

body.light-theme .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .theme-toggle-btn:hover {
  background: rgba(123, 47, 255, 0.08);
  border-color: rgba(123, 47, 255, 0.2);
  color: var(--color-secondary);
  box-shadow: 0 0 15px rgba(123, 47, 255, 0.2);
}

/* ==========================================================================
   15. HORIZONTAL AUTO-SCROLLING TECH TICKER
   ========================================================================== */
.tech-ticker-container {
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(10, 10, 15, 0.15);
  margin-top: 30px;
}

body.light-theme .tech-ticker-container {
  border-top-color: rgba(0, 0, 0, 0.05);
  border-bottom-color: rgba(0, 0, 0, 0.05);
  background: rgba(0, 0, 0, 0.015);
}

.tech-ticker-inner {
  display: flex;
  width: max-content;
}

.ticker-track {
  display: flex;
  gap: 28px;
  animation: scroll-ticker 24s linear infinite;
  padding-right: 28px;
}

@keyframes scroll-ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 5px 12px;
  border-radius: 30px;
  transition: all 0.3s ease;
  user-select: none;
}

body.light-theme .ticker-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

.ticker-item i {
  font-size: 0.9rem;
  filter: drop-shadow(0 0 4px currentColor);
}

.ticker-item:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--color-accent-start);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1);
}

body.light-theme .ticker-item:hover {
  background: rgba(123, 47, 255, 0.06);
  border-color: rgba(123, 47, 255, 0.15);
  color: var(--color-secondary);
  box-shadow: 0 4px 12px rgba(123, 47, 255, 0.08);
}




