:root {
  --primary: #184702;
  --black: #0a0a0a;
  --light-bg: #f9f9f9;
  --white: #0b0909;
  --gray: #666;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #ffffff, #f2f2f2);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: var(--black);
}

/* Container */
.container {
  padding: 20px;
}

/* Card */
.card {
  width: 380px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.4s ease;
  border: 1px solid rgba(187, 173, 121, 0.2);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(187, 173, 121, 0.2);
}

/* Profile Image */
.profile-section img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  margin-bottom: 20px;
  transition: 0.4s ease;
  cursor: pointer;
}

.card:hover .profile-section img {
  transform: scale(1.05);
}

/* Headings */
.content h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

.role {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 12px;
}

.bio {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Social */
.social {
  margin-bottom: 25px;
}

.social a {
  display: inline-block;
  margin: 0 10px;
  font-size: 22px;
  color: var(--black);
  transition: 0.3s ease;
  cursor: pointer;
}

.social a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}
/* Tooltip */
.social a {
  position: relative;
}

.social a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--light-bg);
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.social a::before {
  content: "";
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--primary) transparent transparent transparent;
  opacity: 0;
  transition: 0.3s ease;
}

.social a:hover::after,
.social a:hover::before {
  opacity: 1;
}
/* Skills */
.skills h2 {
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skills ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 25px;
}

.skills ul li {
  font-size: 13px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 20px;
  background: rgba(187, 173, 121, 0.1);
  border: 1px solid rgba(187, 173, 121, 0.4);
  color: var(--primary);
  transition: 0.3s;
}

.skills ul li:hover {
  background: var(--primary);
  color: var(--light-bg);
}

/* Buttons */
.cta {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-primary,
.btn-outline {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: 500;
}

.btn-primary {
  background: var(--primary);
  color: var(--light-bg);
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--light-bg);
}

.cta a {
  position: relative;
  display: inline-block;
}

/* Tooltip Box */
.cta a::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%; /* button ke upar show hoga */
  left: 50%;
  transform: translateX(-50%);
  background: rgb(1, 36, 43);
  color: #fff;
  padding: 6px 10px;
  font-size: 12.5px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

/* Arrow */
.cta a::before {
  content: "";
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  opacity: 0;
  transition: 0.3s ease;
}

/* Hover Effect */
.cta a:hover::after,
.cta a:hover::before {
  opacity: 1;
}
