:root {
  --bg: #0b1020;
  --panel: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.15);
  --text: #f2f2f2;
  --muted: #b7bccd;
  --accent: #ff4da6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background:
    radial-gradient(circle at top left, #161c3b, transparent 45%),
    radial-gradient(circle at bottom right, #120d2e, transparent 45%),
    var(--bg);
  color: var(--text);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 32, 0.7);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

nav a {
  margin-left: 28px;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 140px 8% 80px;
  display: grid;
  grid-template-columns: 62% 38%;
  align-items: center;
  gap: 40px;
  scroll-margin-top: 100px;
}

.hero-left h1 {
  font-size: 4.1rem;
  line-height: 1.15;
}

.hero-left p {
  margin-top: 22px;
  max-width: 520px;
  color: var(--muted);
}

.resume-btn {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ff4da6, #a855f7);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(255,77,166,.35);
}

/* IMAGE */
.hero-right {
  display: flex;
  justify-content: center;
}

.image-wrap {
  width: 300px;
  height: 300px;
  position: relative;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.image-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,166,.6), transparent 70%);
  filter: blur(25px);
}

/* SECTIONS */
.section {
  padding: 140px 18%;
  text-align: center;
  scroll-margin-top: 100px;
}

.section-head {
  margin-bottom: 40px;
}

.section-tag {
  font-size: .75rem;
  letter-spacing: 2px;
  color: var(--accent);
}

.section h2 {
  font-size: 2.6rem;
}

/* ABOUT */
.about-text {
  max-width: 760px;
  margin: auto;
  color: var(--muted);
}

.about-stats {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.about-stats span {
  font-size: 2rem;
  font-weight: 700;
}

/* SERVICES */
.services-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}

.service-card {
  padding: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: .35s;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

/* PROJECTS */
.projects-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}

.projects-grid a {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  transition: .3s;
}

.projects-grid a:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

/* CONTACT */
.contact-card {
  display: inline-block;
  padding: 30px 50px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.contact-card a {
  color: var(--accent);
}

/* FOOTER */
footer {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(60px);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  transition: 1.1s ease;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 3rem;
  }

  .section {
    padding: 120px 10%;
  }

  .about-stats {
    flex-direction: column;
  }
}

/* CONTACT */
.contact-text {
  color: var(--muted);
  margin-bottom: 50px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 900px;
  margin: auto;
  align-items: center;
}

.contact-info {
  text-align: left;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(12px);
}

.contact-info p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-info strong {
  color: var(--text);
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-form {
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form button {
  margin-top: 10px;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #ff4da6, #a855f7);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 77, 166, 0.35);
}

.contact-form button:hover {
  transform: translateY(-3px);
}

/* RESPONSIVE CONTACT */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form {
    text-align: center;
  }
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: #2563eb; /* blue */
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#scrollTopBtn:hover {
  background: #1e40af;
}




