:root {
  --bg-dark: #090e1a;
  --bg-card: #111c33;
  --primary: #01a799;
  --secondary: #06b8b8;
  --text-main: #ffffff;
  --text-muted: #b7c2d0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
}

/* GENERAL */
section {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary);
}
.btn {
  color: var(--primary);
  text-decoration: none;
  margin-top: 1.5rem;
}
/* HERO */
.hero {
  text-align: center;
  padding-top: 6rem;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.hero h1 span {
  color: var(--primary);
}

.intro {
  max-width: 700px;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
}

.skill-card h3 {
  margin-bottom: 0.3rem;
}

.skill-card p {
  color: var(--text-muted);
}

/* EXPERIENCE */
.experience-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  margin: 1.5rem;
}

.experience-card span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.experience-card p {
  color: var(--text-muted);
}

/* CONTACT */
.contact {
  text-align: center;
}

.contact-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  background: var(--bg-card);
  border: 1px solid transparent;
  padding: 0.9rem;
  border-radius: 8px;
  color: white;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
}

textarea {
  resize: none;
  min-height: 120px;
}

button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #001514;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

#form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #08101f;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  margin-bottom: 0.5rem;
}

.project-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 20px;
  background: rgba(0, 194, 179, 0.15);
  color: var(--primary);
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.skill-card {
  transition-delay: 0.1s;
}

/* MOBILE */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  section {
    padding: 3rem 1.2rem;
  }
}
