/* Mirandas Tech - Modern & Professional Style */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --color-primary: #0B1C2D;
  --color-primary-dark: #050E17;
  --color-secondary: #1DB954;
  --color-secondary-glow: rgba(29, 185, 84, 0.4);
  --color-accent: #00F0FF;
  /* Cyan for tech accents */
  --color-white: #FFFFFF;
  --color-text: #E0E6ED;
  --color-text-muted: #94A3B8;
  --color-bg: #0B1C2D;
  --color-surface: #13283E;
  --color-border: #1E3A56;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 8rem;

  /* Container */
  --container-width: 1240px;
  --border-radius: 12px;
  --border-radius-lg: 20px;

  /* Shadows & Glows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --glow-primary: 0 0 20px rgba(29, 185, 84, 0.15);
  --glow-accent: 0 0 15px rgba(0, 240, 255, 0.2);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(29, 185, 84, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.05), transparent 25%);
}

/* Animated Background Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(29, 185, 84, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 185, 84, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

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

/* Floating Particles Effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(29, 185, 84, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(29, 185, 84, 0.05) 0%, transparent 50%);
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.8;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--color-white);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-white) 0%, #A0AEC0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-highlight {
  color: var(--color-secondary);
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  border-radius: 2px;
  animation: expandLine 1s ease-out;
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.section-subtitle {
  text-align: center;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--color-secondary);
  opacity: 0.5;
}

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

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.btn-primary {
  background: var(--color-secondary);
  color: #000;
  box-shadow: 0 0 15px rgba(29, 185, 84, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background-color: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(29, 185, 84, 0.8);
}

.btn-primary i {
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  backdrop-filter: blur(5px);
}

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

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.bg-surface {
  background-color: var(--color-surface);
}

/* Header */
#header {
  background: linear-gradient(180deg, rgba(11, 28, 45, 0.98) 0%, rgba(11, 28, 45, 0.95) 100%);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#header.scrolled {
  background: linear-gradient(180deg, rgba(11, 28, 45, 0.99) 0%, rgba(11, 28, 45, 0.98) 100%);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

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

/* Logo styles - only for navbar */
.navbar .logo {
  display: inline-block;
  transition: all 0.3s ease;
}

.navbar .logo img {
  height: 55px;
  width: auto;
  filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  transition: all 0.3s ease;
}

.navbar .logo:hover img {
  filter: brightness(1.5) contrast(1.3) drop-shadow(0 0 15px rgba(29, 185, 84, 0.6));
  transform: scale(1.05);
}

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

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav-links a:not(.btn):hover {
  color: var(--color-white);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  background:
    radial-gradient(circle at 50% 50%, rgba(11, 28, 45, 0) 0%, rgba(11, 28, 45, 1) 100%),
    url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgb3BhY2l0eT0iMC4wMyI+PHBhdGggZD0iTTEgMWg0OHY0OEgxVjF6IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMSIvPjwvc3ZnPg==');
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(29, 185, 84, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0, 240, 255, 0.15) 0%, transparent 50%);
  animation: rotate 30s linear infinite;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(29, 185, 84, 0.15), transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

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

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

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

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

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.hero h5 {
  font-size: 0.9rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, #ffffff, #b3b3b3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.hero p {
  font-size: 1.35rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cards & Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  opacity: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.1), transparent);
  transition: left 0.5s;
}

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

.card.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(29, 185, 84, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(29, 185, 84, 0.2);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: rgba(29, 185, 84, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  transition: var(--transition);
  position: relative;
}

.icon-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .icon-box::before {
  opacity: 1;
}

.card:hover .icon-box {
  background: var(--color-secondary);
  color: #000;
  box-shadow: 0 0 20px var(--color-secondary-glow);
  transform: rotate(5deg) scale(1.1);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--color-secondary-glow);
  }
  50% {
    box-shadow: 0 0 30px var(--color-secondary-glow);
  }
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card p {
  color: var(--color-text-muted);
}

/* Portfolio Specifics */
.portfolio-item {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(0, 240, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

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

.portfolio-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(29, 185, 84, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.portfolio-content {
  position: relative;
  z-index: 2;
}

.portfolio-img {
  height: 240px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  /* Loading placeholder */
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.portfolio-content .subtitle {
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.portfolio-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.portfolio-content ul {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.portfolio-content ul li {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
  position: relative;
}

.portfolio-content ul li::before {
  content: '•';
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.portfolio-content > div:last-child {
  margin-top: auto;
  padding-top: 1rem;
}

.portfolio-content .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.portfolio-content .btn:hover {
  transform: translateY(-2px);
}

/* Tech Grid */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.tech-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(29, 185, 84, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.tech-item:hover::before {
  width: 200px;
  height: 200px;
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 20px rgba(29, 185, 84, 0.3);
}

.tech-item i {
  color: var(--color-secondary);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.tech-item:hover i {
  transform: rotate(360deg) scale(1.2);
  color: var(--color-white);
}

/* Technologies Section Enhanced */
.tech-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.tech-expertise {
  margin-bottom: 4rem;
}

.tech-category {
  margin-bottom: 3.5rem;
}

.tech-category-title {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 700;
}

.tech-category-title i {
  color: var(--color-secondary);
  font-size: 1.3rem;
}

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

.expertise-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.expertise-item:hover::before {
  transform: scaleX(1);
}

.expertise-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(29, 185, 84, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.expertise-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  filter: grayscale(0.3);
  transition: var(--transition);
}

.expertise-item:hover .expertise-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.expertise-item h4 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.expertise-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tech-grid {
  max-width: 100%;
}

/* About Section Enhanced */
.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.about-lead {
  font-size: 1.3rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

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

.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  transform: scaleX(0);
  transition: var(--transition);
}

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

.value-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
  border-color: rgba(29, 185, 84, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: rgba(29, 185, 84, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-secondary);
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--color-secondary);
  color: #000;
  box-shadow: 0 0 20px var(--color-secondary-glow);
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.value-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Section Enhanced */
.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(29, 185, 84, 0.1), transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  opacity: 0;
  transition: var(--transition);
}

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

.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
  border-color: rgba(29, 185, 84, 0.3);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.5);
}

.service-card .icon-box {
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--color-white);
}

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

.service-features {
  list-style: none;
  padding: 0;
  margin-top: auto;
}

.service-features li {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-features li i {
  color: var(--color-secondary);
  font-size: 0.8rem;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.services-cta {
  text-align: center;
  padding: 3rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 3rem;
}

.services-cta p {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Contact */
.contact-container {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
#footer {
  background: #050E17;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
}

/* Footer logo - separate from navbar logo */
.footer-info .logo {
  display: inline-block;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  position: relative;
}

.footer-info .logo::before {
  display: none;
}

.footer-info .logo:hover {
  transform: none;
  box-shadow: none;
  background: none;
}

.footer-info .logo img {
  height: 50px;
  width: auto;
  filter: brightness(1.4) contrast(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  transition: all 0.3s ease;
}

.footer-info .logo:hover img {
  filter: brightness(1.7) contrast(1.4) drop-shadow(0 0 15px rgba(29, 185, 84, 0.6));
  transform: scale(1.05);
}

/* Main and Section positioning */
main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

/* Mobile */
@media (max-width: 768px) {
  /* Reduce section spacing */
  .section {
    padding: 3rem 0;
  }

  /* Hero adjustments */
  .hero {
    min-height: auto;
    padding: 100px 0 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero h5 {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.8rem !important;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Section titles */
  .section-title {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }

  .section-subtitle {
    font-size: 0.75rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
  }

  /* Container padding */
  .container {
    padding: 0 1rem;
  }

  /* Navbar */
  .nav-links {
    background-color: var(--color-surface);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .navbar .logo img {
    height: 45px;
  }

  /* About section */
  .about-intro {
    margin-bottom: 2rem;
  }

  .about-lead {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .about-description {
    font-size: 0.95rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }

  .value-card {
    padding: 1.5rem;
  }

  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .stat-item {
    padding: 1rem;
  }

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

  .stat-label {
    font-size: 0.8rem;
  }

  /* Services section */
  .services-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .services-cta {
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .services-cta p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  /* Technologies section */
  .tech-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .tech-category {
    margin-bottom: 2rem;
  }

  .tech-category-title {
    font-size: 1.1rem;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .expertise-item {
    padding: 1.2rem;
  }

  .expertise-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .expertise-item h4 {
    font-size: 1rem;
  }

  .expertise-item p {
    font-size: 0.85rem;
  }

  .tech-grid {
    gap: 0.6rem;
  }

  .tech-item {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  /* Portfolio section */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-item {
    margin-bottom: 0;
  }

  .portfolio-content {
    padding: 1.5rem;
  }

  .portfolio-content h3 {
    font-size: 1.3rem;
  }

  .portfolio-content .btn {
    width: 100%;
    margin-top: 0.8rem;
  }

  /* Contact section */
  .contact-container {
    padding: 2rem 1.5rem;
  }

  .contact-container p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Footer */
  #footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .footer-info p {
    font-size: 0.9rem;
    margin-top: 0.8rem;
  }
}