:root {
  --bg: #0f172a;
  --card: #020617;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #6366f1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
}

/* Profile header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-header img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

/* Left card */
.profile-card {
  background: var(--card);
  padding: 30px;
  border-radius: 20px;
  position: sticky;
  top: 30px;
}

.role {
  color: var(--muted);
  margin: 15px 0;
}

.info p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Buttons */
.actions {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  color: white;
  font-size: 0.9rem;
}

.primary {
  background: var(--accent);
}

.whatsapp {
  background: #22c55e;
}

/* Content */
.content section {
  margin-bottom: 40px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills span {
  background: var(--card);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.card-box {
  background: var(--card);
  padding: 20px;
  border-radius: 15px;
}

/* Contact */
form {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

input, textarea {
  background: var(--card);
  border: none;
  padding: 12px;
  border-radius: 8px;
  color: var(--text);
}

button {
  background: var(--accent);
  border: none;
  padding: 12px;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

/* FLOATING SOCIAL BUTTONS */
.float-btn {
  position: fixed;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.github {
  bottom: 90px;
  background: #24292e;
}

.instagram {
  bottom: 30px;
  background: #e1306c;
}

/* Footer */
footer {
  margin-top: 60px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 850px) {
  .container {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: relative;
  }
}
