/* =========================
   FINAL PREMIUM PORTFOLIO CSS
   ========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top, #0b1220, #060a12);
  color: #e5e7eb;
  overflow-x: hidden;
}

/* =========================
   HEADER
   ========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

header h1 {
  font-size: 22px;
  color: #38bdf8;
  letter-spacing: 1px;
}

nav a {
  margin-left: 18px;
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #38bdf8;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* =========================
   HERO
   ========================= */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 55px;
  color: #38bdf8;
  text-shadow: 0 0 20px rgba(56,189,248,0.3);
}

.hero p {
  max-width: 650px;
  font-size: 18px;
  color: #cbd5e1;
  margin-top: 10px;
}

/* =========================
   BUTTON
   ========================= */
.btn,
button {
  margin-top: 20px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0b1220;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(56,189,248,0.25);
}

.btn:hover,
button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(56,189,248,0.35);
}

/* =========================
   SECTIONS
   ========================= */
section {
  padding: 100px 10%;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #38bdf8;
}

/* =========================
   GRID & CARDS
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #38bdf8;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.card h3 {
  color: #38bdf8;
  margin-bottom: 10px;
}

/* =========================
   FORM
   ========================= */
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input, textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0f172a;
  color: white;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

input:focus,
textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,0.25);
}

/* =========================
   FOOTER
   ========================= */
footer {
  text-align: center;
  padding: 25px;
  color: #94a3b8;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   PRIVACY BOX
   ========================= */
.privacy-box {
  max-width: 800px;
  margin: auto;
  background: rgba(17, 24, 39, 0.6);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  line-height: 1.8;
}

/* =========================
   ANIMATION (optional feel)
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);