:root {
  --primary: #0ff;
  --background: #0a0a0a;
  --foreground: #f0f0f0;
  --accent: #ff2c70;
  --font: 'Segoe UI', sans-serif;
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  line-height: 1.6;
}

/* Navigation */
nav {
  background: #111;
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav a {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: 0.3s;
}

nav a:hover, nav a.active {
  background: var(--primary);
  color: #000;
}

/* Header */
header {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to right, #0ff, #08f);
  color: #000;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.cta-buttons a {
  text-decoration: none;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  transition: 0.3s;
}

.cta-buttons a:hover {
  background: var(--primary);
  color: #000;
}

/* Sections */
section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Cards and Grids */
.services, .process, .team, .projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  background: #111;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
  transition: 0.3s;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Project specific styles */
.project-card {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  transition: 0.3s;
}

.project-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-title {
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0;
}

.project-status {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tech-tag {
  background: #333;
  color: var(--primary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* Team styles */
.team-member {
  text-align: center;
  background: #111;
  padding: 2rem 1rem;
  border-radius: 8px;
  border: 1px solid #333;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.team-name {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 1rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-top: 1rem;
}

.skill-tag {
  background: #333;
  color: var(--foreground);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Team social links */
.team-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.team-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #333;
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  font-weight: 500;
}

.team-link:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.team-link.github:hover {
  background: #333;
  color: #fff;
  border-color: #fff;
}

.team-link.portfolio:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.team-link.linkedin:hover {
  background: #0077b5;
  color: #fff;
  border-color: #0077b5;
}

.team-link-icon {
  font-size: 1rem;
}

/* Contact page styles */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  background: #111;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #333;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.contact-card.primary {
  border-color: var(--accent);
  background: linear-gradient(135deg, #111 0%, #1a0a1a 100%);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: var(--primary);
  color: #000;
  transform: scale(1.05);
}

/* Contact form styles */
.contact-form-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-form {
  background: #111;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #333;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #222;
  border: 1px solid #444;
  color: var(--foreground);
  padding: 0.75rem;
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Contact info sidebar */
.contact-info {
  background: #111;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #333;
  height: fit-content;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.step-number {
  background: var(--accent);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.step-content p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* FAQ styles */
.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-item h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: #ccc;
  line-height: 1.5;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea, button {
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
}

input, textarea {
  background: #222;
  color: var(--foreground);
}

button {
  background: var(--primary);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: var(--accent);
  color: #fff;
}

/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive design */
@media (max-width: 768px) {
  .services, .process, .team, .projects {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .project-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Contact page responsive */
  .contact-form-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .team-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
  nav ul {
    gap: 0.5rem;
  }
  
  nav a {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
  }
}

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

.card, .project-card, .team-member {
  animation: fadeIn 0.6s ease-out;
}
