:root {
  --primary-green: #95bb30;
  --primary-blue: #019cde;
  --dark-bg: #0a0a0a;
  --light-bg: #fafafa;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-green)
  );
  --gradient-dark: linear-gradient(135deg, #000000, #1a1a1a);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --success-color: #10b981;
  --warning-color: #f59e0b;
  --overlay-bg: rgba(0, 0, 0, 0.8);
}

/* Dark Theme Variables */
/* Default Dark Theme */
:root,
[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #1a1a1a;
  --text-primary: #f5f5f5;
  --text-secondary: #e5e7eb;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --card-bg: rgba(0, 0, 0, 0.3);
  --input-bg: rgba(255, 255, 255, 0.05);
  --navbar-bg: rgba(10, 10, 10, 0.95);
  --gradient-dark: linear-gradient(135deg, #000000, #1a1a1a);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-bg);
  overflow-x: hidden;
  transition: all var(--transition-smooth);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

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

/* Update cards and components */
.feature-card,
.service-card,
.project-card {
  background: var(--card-bg);
  border-color: var(--border-color);
  box-shadow: 0 4px 6px var(--shadow-color);
}

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

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-dark {
  background: var(--dark-bg);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  /* color: var(--text-muted);*/
  max-width: 600px;
  margin: 0 auto;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px; /* Add this to define navbar height */
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: var(--shadow-lg);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  text-decoration: none;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand-text {
  font-weight: 600;
  font-size: 1.2rem;
}

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

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-smooth);
}

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

.theme-toggle {
  color: var(--text-primary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.theme-toggle:hover {
  background: var(--glass-border);
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  margin: 3px 0;
  transition: all var(--transition-smooth);
}

/* Hero Section */
.hero {
  background: var(--gradient-dark);
  color: var(--text-light);
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px; /* Add this to account for fixed navbar */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(149, 187, 48, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(1, 156, 222, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 70%,
      rgba(149, 187, 48, 0.05) 0%,
      transparent 50%
    );
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.float-element {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  animation: float var(--duration, 10s) var(--delay, 0s) ease-in-out infinite;
}

.float-element:nth-child(1) {
  top: 10%;
  left: 10%;
}
.float-element:nth-child(2) {
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
}
.float-element:nth-child(3) {
  bottom: 20%;
  left: 50%;
  width: 60px;
  height: 60px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(120deg);
  }
  66% {
    transform: translateY(15px) rotate(240deg);
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 2;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line {
  display: block;
  opacity: 0;
  animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  animation: fadeIn 1s ease 1s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 1.2s both;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid var(--text-light);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  opacity: 0.7;
}

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

/* 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: all var(--transition-smooth);
  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: left 0.5s;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(149, 187, 48, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(149, 187, 48, 0.4);
}

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

.btn-outline:hover {
  background: var(--glass-bg);
  transform: translateY(-2px);
}

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

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

.btn-loading {
  display: none;
}

.btn.loading .btn-loading {
  display: inline-flex;
}

.btn.loading svg {
  animation: spin 1s linear infinite;
}

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

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  animation: fadeInLeft 1s ease both;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  /*color: var(--text-dark);*/
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  /*color: var(--text-dark);*/
}

.feature-card p {
  font-size: 0.9rem;
  margin: 0;
}

.about-visual {
  animation: fadeInRight 1s ease both;
}

.tech-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tech-item {
  background: var(--light-bg);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.tech-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.1;
  transition: left 0.5s ease;
}

.tech-item:hover::before,
.tech-item.active::before {
  left: 0;
}

.tech-item:hover,
.tech-item.active {
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

.tech-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tech-item h4 {
  font-size: 1rem;
  margin: 0;
}

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

.service-card {
  /* background: var(--glass-bg);*/
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
}

.service-card h3 {
  margin: 0;
  color: var(--text-light);
}

.service-card p {
  margin-bottom: 1.5rem;
  color: rgba(245, 245, 245, 0.8);
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  color: rgba(245, 245, 245, 0.7);
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-overlay {
  opacity: 0.95;
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  border-color: var(--border-color);
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-weight: 500;
}

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

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

.project-card {
  background: var(--light-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  opacity: 0;
  transform: translateY(30px);
}

.project-card.show {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

/*
.project-image {
  height: 200px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}*/

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

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

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.project-tag {
  background: var(--primary-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* 1. PROJECT SHOWCASE MODAL STYLES */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-modal-content {
  background: var(--dark-bg);
  border-radius: 20px;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal.active .project-modal-content {
  transform: scale(1) translateY(0);
}

.project-modal-header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-close-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.project-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.project-modal-body {
  padding: 30px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.project-image {
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass-bg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.project-image:hover {
  transform: scale(1.02);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tech-tag {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-green)
  );
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* Update text colors */
.section-subtitle,
.about-text p,
.project-description {
  color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  space-y: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.contact-details h4 {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.contact-details a {
  color: rgba(245, 245, 245, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-details a:hover {
  color: var(--primary-green);
}

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

.social-link {
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-smooth);
}

.social-link:hover {
  background: var(--gradient-primary);
  transform: scale(1.1);
}

/* Contact Form */
.contact-form {
  border-color: var(--border-color);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

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

.form-group input,
.form-group textarea {
  border-color: var(--border-color);
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.1);
}

.form-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: rgba(245, 245, 245, 0.6);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.8rem;
  color: var(--primary-blue);
  background: var(--dark-bg);
  padding: 0 0.5rem;
}

.form-group select {
  border-color: var(--border-color);
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-green);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  font-size: 1rem;
  appearance: none; /* Removes default arrow styling */
  transition: all var(--transition-smooth);
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.1);
}

/* Floating label compatibility with select */
.form-group select:focus + label,
.form-group select:not([value=""]) + label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.8rem;
  color: var(--primary-blue);
  background: var(--dark-bg);
  padding: 0 0.5rem;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--glass-border);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

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

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-brand p {
  margin: 0;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(245, 245, 245, 0.8);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

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

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

.footer-bottom a {
  color: var(--primary-green);
  text-decoration: none;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@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 slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    min-width: 200px;
  }

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

  .project-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .filter-btn {
    white-space: nowrap;
  }

  .tech-showcase {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .nav-container {
    padding: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

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

  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
}

/* Intersection Observer Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Loading States */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/*Micro‑Interactions (hover effects)*/
.menu-item {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.menu-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ff6600;
  bottom: 0;
  left: -100%;
  transition: left 0.3s;
}
.menu-item:hover::after {
  left: 0;
}
.menu-item:hover {
  transform: translateY(-3px);
  transition: transform 0.3s;
}

.notification-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-bottom: 2px solid var(--primary-green);
  z-index: 1000;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification-content-wrapper {
  display: flex;
  align-items: center;
  height: 60px;
  white-space: nowrap;
  animation: scrollRight 60s linear infinite;
}

@keyframes scrollRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 40px;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.4;
}

.notification-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: var(--primary-green);
}

.notification-title span {
  font-size: 16px;
}

.notification-text {
  margin: 0;
}

.notification-text strong {
  color: var(--primary-green);
}

.notification-button {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.notification-button:hover {
  background: #0d9668;
  transform: translateY(-1px);
}

.notification-close {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.3s ease;
  z-index: 1001;
}

.notification-close:hover {
  color: #f87171;
}

/* Demo content to show the notification in context */
.main-content {
  margin-top: 80px;
  padding: 40px;
  color: white;
  text-align: center;
}

.main-content h1 {
  color: var(--primary-green);
  margin-bottom: 20px;
}

/* Pause animation on hover (optional) */
.notification-banner:hover .notification-content-wrapper {
  animation-play-state: paused;
}

/* Promotional Carousel Section */
.promo-carousel-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.promo-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.promo-carousel-track {
  display: flex;
  gap: 30px;
  /*animation: scroll-left 50s linear infinite;*/ /*Scroll from right to left*/
   animation: scroll-right 40s linear infinite;  /*Scroll from left to right*/
  width: max-content;
}

.promo-carousel-track:hover {
  animation-play-state: paused;
}

.promo-card {
  flex-shrink: 0;
  width: 400px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg-primary);
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*SCROLL from Right to Left*/
/*@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}*/
/*SCROLL from Left to Right*/
@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .promo-card {
    width: 300px;
    height: 210px;
  }

  .promo-carousel-track {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .promo-card {
    width: 250px;
    height: 175px;
  }
}
