:root {
  --bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.9);
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #0f172a;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 20px 50px rgba(15, 23, 42, 0.15);
  --white: #ffffff;
  --success: #25d366;
  --success-dark: #1faa54;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #f8fafc, #eef2ff);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.15), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  display: flex;
  flex-direction: column;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 80px;
  max-width: 760px;
}

.tag {
  display: inline-block;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.hero-content h2 {
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.highlight-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.highlight-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.highlight-box span {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

.section {
  padding: 95px 0;
}

.alt-bg {
  background: linear-gradient(to bottom, #eef4ff, #f8fbff);
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.section-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.skills-grid,
.cards {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.skill-card,
.card,
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.skill-card h3,
.card h3,
.contact-box h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}

.skill-card p,
.card p,
.contact-box p {
  color: var(--muted);
}

.skill-card:hover,
.card:hover,
.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  transition: 0.25s ease;
}

.card-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  background: #dbeafe;
  padding: 6px 10px;
  border-radius: 999px;
}

.contact-section .social-links {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  color: var(--primary);
  background: var(--white);
  border: 1px solid rgba(37, 99, 235, 0.12);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.social-links a:hover {
  background: #eff6ff;
  transform: translateY(-2px);
}

.contact-box {
  margin-top: 28px;
  max-width: 620px;
}

.whatsapp-btn {
  margin-top: 18px;
  background: var(--success);
  color: var(--white);
}

.whatsapp-btn:hover {
  background: var(--success-dark);
}

.footer {
  background: #020617;
  color: var(--white);
  text-align: center;
  padding: 28px 20px;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--success);
  color: var(--white);
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: var(--success-dark);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero-content {
    padding: 20px 0 60px;
  }

  .section {
    padding: 75px 0;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
  }
}
