/*
  Author: CodeMoll
  Company: NEADTECH LTD
  Copyright (c) 2025 CodeMoll, NEADTECH LTD. All rights reserved.
*/
/* =======================================
   Modern Portfolio Website CSS
   Dark/Light Mode + Responsive Design
======================================= */

:root {
  /* DoubleSpeed Host Colors */
  --primary-color: #00FF7F;
  --secondary-color: #103B40;
  --accent-color: #00FF7F;
  --text-primary: #FFFFFF;
  --text-secondary: #B5C6C9;
  --bg-primary: #0A1A1F;
  --bg-secondary: #103B40;
  --bg-card: #103B40;
  --border-color: #103B40;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 255, 127, 0.3);
  --glow-effect: 0 0 20px rgba(0, 255, 127, 0.5);
  --glow-effect-strong: 0 0 30px rgba(0, 255, 127, 0.7);
  
  /* Typography */
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition-medium: all 0.4s ease;
  --transition-fast: all 0.2s ease;
}

/* Remove the dark theme section since we're using single dark theme */

/* =======================================
   Reset & Base Styles
======================================= */

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(16, 59, 64, 0.3) 0%, transparent 50%),
    linear-gradient(45deg, rgba(0, 255, 127, 0.05) 0%, transparent 100%);
  background-attachment: fixed;
  line-height: 1.6;
  transition: var(--transition);
  overflow-x: hidden;
  position: relative;
}

/* Geometric Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 127, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 127, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 127, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 127, 0.02) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  pointer-events: none;
  z-index: -1;
}

/* =======================================
   Typography
======================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* =======================================
   Layout & Grid
======================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flex-center { justify-content: center; }
.flex-between { justify-content: space-between; }
.flex-column { flex-direction: column; }

/* =======================================
   Navigation
======================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 26, 31, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition);
}

/* Remove dark theme navbar override since we're using single dark theme */

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), rgba(0, 255, 127, 0.5));
  transition: var(--transition-medium);
  transform: translateX(-50%);
  box-shadow: 0 0 5px rgba(0, 255, 127, 0.3);
}

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


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

/* =======================================
   Hero Section
======================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: 
    linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%),
    radial-gradient(circle at 20% 80%, rgba(0, 255, 127, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 59, 64, 0.4) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
  animation: heroGradient 8s ease-in-out infinite alternate;
}

@keyframes heroGradient {
  0% {
    background-position: 0% 50%, 20% 80%, 80% 20%;
  }
  100% {
    background-position: 100% 50%, 80% 20%, 20% 80%;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 127, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 127, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 127, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 127, 0.04) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  opacity: 0.7;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-family: var(--font-secondary);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

/* =======================================
   Buttons
======================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-medium);
  font-size: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--bg-primary);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--glow-effect-strong), var(--shadow-lg);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 0 rgba(0, 255, 127, 0);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--glow-effect), var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--glow-effect);
}

/* =======================================
   Cards
======================================= */

.card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition-medium);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 255, 127, 0.05), transparent);
  opacity: 0;
  transition: var(--transition-medium);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-effect), var(--shadow-lg);
  border-color: rgba(0, 255, 127, 0.3);
}

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

.card-header {
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =======================================
   Sections
======================================= */

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

/* =======================================
   Skills & Progress Bars
======================================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

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

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
}

.skill-percentage {
  color: var(--primary-color);
  font-weight: 600;
}

.skill-bar {
  height: 10px;
  background: var(--bg-secondary);
  border-radius: 5px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 5px;
  width: 0%;
  transition: width 1s ease;
}

/* =======================================
   Portfolio
======================================= */

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 127, 0.3);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(37, 99, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-overlay .btn {
  margin: 0 0.5rem;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.portfolio-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-tag {
  background: var(--bg-secondary);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* =======================================
   Forms
======================================= */

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Fix dropdown options styling for better visibility */
.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0.5rem;
}

.form-select option:hover,
.form-select option:focus {
  background: var(--primary-color);
  color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 255, 127, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.2);
  background: rgba(0, 255, 127, 0.05);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--accent-color);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 255, 127, 0.2);
}

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

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* =======================================
   Testimonials
======================================= */

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.testimonial-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

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

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.testimonial-info p {
  color: var(--text-secondary);
  margin: 0;
}

/* =======================================
   Counters
======================================= */

.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.counter-item {
  text-align: center;
  padding: 2rem;
}

.counter-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* =======================================
   Footer
======================================= */

.footer {
  background: var(--secondary-color);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* =======================================
   Animations
======================================= */

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* =======================================
   Responsive Design
======================================= */

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .portfolio-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================================
   Print Styles
======================================= */

@media print {
  .navbar,
  .hero-buttons,
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  * {
    box-shadow: none !important;
  }
}

/* =======================================
   Utility Classes
======================================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =======================================
   Enhanced Scroll Animations
======================================= */

/* Fade in from bottom with stagger delay */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition-slow);
}

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

/* Fade in from left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-slow);
}

.fade-in-left.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-slow);
}

.fade-in-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in animation */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-slow);
}

.scale-in.animated {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* =======================================
   Enhanced Section Backgrounds
======================================= */

.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(0, 255, 127, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(16, 59, 64, 0.1) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.7;
}

.section:nth-child(even)::before {
  background: 
    radial-gradient(circle at 70% 30%, rgba(0, 255, 127, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(16, 59, 64, 0.12) 0%, transparent 50%);
}

/* =======================================
   Floating Particles Animation
======================================= */

.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.4;
  animation: floatUp 6s linear infinite;
}

.particle:nth-child(odd) {
  background: rgba(0, 255, 127, 0.6);
  animation-duration: 8s;
}

.particle:nth-child(3n) {
  background: rgba(16, 59, 64, 0.8);
  animation-duration: 10s;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
    transform: scale(1);
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

/* =======================================
   Enhanced Portfolio Item Animations
======================================= */

.portfolio-item {
  transition: var(--transition-medium);
}

.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--glow-effect), var(--shadow-lg);
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

/* =======================================
   Enhanced Testimonial Animations
======================================= */

.testimonial-item {
  transition: var(--transition-medium);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow-effect), var(--shadow-lg);
}

/* =======================================
   Counter Animation Enhancement
======================================= */

.counter-item {
  transition: var(--transition-medium);
}

.counter-item:hover {
  transform: translateY(-5px);
}

.counter-item:hover .counter-icon {
  animation: pulse 0.6s ease-in-out;
  color: var(--primary-color);
  filter: drop-shadow(0 0 10px rgba(0, 255, 127, 0.7));
}

/* =======================================
   Blog Card Enhanced Animations
======================================= */

.blog-card {
  transition: var(--transition-medium);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-effect), var(--shadow-lg);
}

/* =======================================
   Smooth Scroll Enhancement
======================================= */

html {
  scroll-behavior: smooth;
}

/* Smooth scrolling for all anchor links */
a[href^="#"] {
  scroll-behavior: smooth;
}

/* =======================================
   Loading Animations
======================================= */

.loading-shimmer {
  background: linear-gradient(90deg, 
    var(--bg-secondary) 25%, 
    rgba(0, 255, 127, 0.1) 50%, 
    var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* =======================================
   Security and Content Protection Styles
======================================= */

/* Disable text selection globally */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Allow text selection for form inputs and content areas where needed */
input, textarea, [contenteditable="true"], .selectable-text {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Disable image dragging */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

/* Security notification styles */
.security-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff4444;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  z-index: 10000;
  font-family: Arial, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Watermark styles */
.content-watermark {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-family: Arial, sans-serif;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
}

/* Hide content during print and show copyright notice */
@media print {
  body * {
    visibility: hidden;
  }
  
  body::before {
    content: "© 2025 CodeMoll, NEADTECH LTD. All rights reserved. Printing is not allowed.";
    visibility: visible;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #000;
    font-weight: bold;
    text-align: center;
  }
}