:root {
  --primary: #00ff00;
  --primary-dark: #00cc00;
  --secondary: #00ffff;
  --accent-pink: #ff00ff;
  --accent-yellow: #ffff00;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --bg-dark: #0a0e27;
  --bg-darker: #050810;
  --bg-card: #1a1f3a;
  --border: #2a3f5f;
  --shadow: 0 20px 60px rgba(0, 255, 0, 0.2);
  --neon-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-blur: blur(15px);
  --glass-border: rgba(0, 255, 0, 0.15);
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-light);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.profile-page-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.profile-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

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

.project-image-card {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.9), rgba(26, 31, 58, 0.65));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.project-image-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
}

.project-image-content {
  padding: 1.5rem;
}

.project-image-content h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.project-image-content p {
  color: var(--text-muted);
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.3));
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 16, 0.9);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--neon-shadow);
  background: rgba(5, 8, 16, 0.95);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(1.2);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: var(--transition);
  box-shadow: var(--neon-shadow);
}

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

.btn-contact {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--neon-shadow);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.8), 0 0 60px rgba(0, 255, 255, 0.4);
  filter: brightness(1.2);
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, 
    rgba(0, 255, 0, 0.1) 0%, 
    rgba(0, 255, 255, 0.05) 50%, 
    rgba(255, 0, 255, 0.05) 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 40%);
  pointer-events: none;
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.highlight-accent {
  position: relative;
  display: inline-block;
  z-index: 1;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.5));
}

.highlight-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0.7;
  box-shadow: var(--neon-shadow);
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
}

.text-glow {
  color: var(--primary);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 102, 204, 0.2);
}


.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* Cards & Sections */
.card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--neon-shadow), inset 0 0 20px rgba(0, 255, 0, 0.1);
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.05), rgba(0, 255, 255, 0.05));
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

/* Footer */
footer {
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  border-image: linear-gradient(to right, var(--primary), var(--secondary)) 1;
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes revealText {
  0% {
    opacity: 0;
    transform: translateY(20px);
    clip-path: inset(0 0 100% 0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}


/* Responsive */
@media (max-width: 991px) {

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

  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {

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

  .nav-links {
    display: none;
  }
}

/* ===== GLASSMORPHIC DESIGN ===== */

/* Glassmorphic Card */
.glass-card {
  background: rgba(26, 31, 58, 0.6);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.glass-card:hover {
  background: rgba(26, 31, 58, 0.8);
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 255, 0, 0.2), inset 0 0 30px rgba(0, 255, 0, 0.05);
}

/* Service Card Enhanced */
.service-card {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.8), rgba(26, 31, 58, 0.6));
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: 25px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--primary);
  box-shadow: 0 25px 50px rgba(0, 255, 0, 0.25), inset 0 0 30px rgba(0, 255, 0, 0.05);
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.95), rgba(26, 31, 58, 0.85));
}

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

.service-card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.08);
}

.core-services-grid .service-card:nth-child(n+7) {
  display: none;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--neon-shadow);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  gap: 0.5rem;
  transition: var(--transition);
  margin-top: auto;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.service-card-link:hover {
  gap: 1rem;
  color: var(--secondary);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Section with Glass Background */
.section-glass {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.7), rgba(26, 31, 58, 0.5));
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4rem;
  margin: 3rem 0;
  box-shadow: 0 20px 60px rgba(0, 255, 0, 0.1);
}

/* Client Logo Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.client-logo {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.8), rgba(26, 31, 58, 0.6));
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: var(--transition);
  cursor: pointer;
}

.client-logo:hover {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.95), rgba(26, 31, 58, 0.85));
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 255, 0, 0.2), inset 0 0 20px rgba(0, 255, 0, 0.05);
  border-color: var(--primary);
}

.client-logo img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
  filter: brightness(0.9);
}

.client-logo:hover img {
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(0, 255, 0, 0.4));
}

/* Expand Content Section */
.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.expand-content.active {
  max-height: 1000px;
}

.service-full-description {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--glass-border);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.service-full-description strong {
  color: var(--primary);
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-full-description ul {
  list-style: none;
  margin: 1rem 0;
  padding-left: 0;
}

.service-full-description li {
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.service-full-description li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Button Styles */
.btn-glass {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--bg-dark);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--neon-shadow);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.btn-glass:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 255, 0, 0.8), 0 0 80px rgba(0, 255, 255, 0.4);
  filter: brightness(1.2);
}

.btn-glass:active {
  transform: translateY(-1px);
}

.btn-outline-glass {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.btn-outline-glass:hover {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: var(--neon-shadow);
  filter: brightness(1.1);
}

/* Badge/Tag Styles */
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Enhanced Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.6);
  }
}

.animate-slide-right {
  animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-slide-left {
  animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  filter: drop-shadow(0 0 5px rgba(0, 255, 0, 0.3));
}

/* Hover Effects */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Hover Effects */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .section-glass {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .grid-3,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    padding: 1.5rem;
  }

  .service-card-content {
    padding: 1.5rem;
  }

  .section-glass {
    padding: 2rem;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

/* ===== NEON DARK THEME ANIMATIONS ===== */

/* Neon glow animation */
@keyframes neonGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.8), 0 0 30px rgba(0, 255, 0, 0.6), 0 0 40px rgba(0, 255, 255, 0.4);
  }
}

/* Cyber pulse */
@keyframes cyberPulse {
  0%, 100% {
    border-color: rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  }
  50% {
    border-color: rgba(0, 255, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6), 0 0 30px rgba(0, 255, 255, 0.3);
  }
}

/* Service card neon border */
.service-card {
  border: 1px solid rgba(0, 255, 0, 0.2);
}

/* Apply neon effect on hover */
.service-card:hover {
  animation: cyberPulse 1.5s ease-in-out;
}

/* Special neon text effect */
h1, h2, h3 {
  color: var(--text-light);
}

.service-card h3,
.section-title h2 {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
  transition: text-shadow 0.3s ease;
}

.service-card:hover h3 {
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.8), 0 0 30px rgba(0, 255, 255, 0.4);
}

/* Footer text styling */
.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

/* Mobile-specific improvements */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-contact,
  .btn-glass {
    width: 100%;
    text-align: center;
  }
}
}
