:root {
  --bg-1: #071033;
  --bg-2: #081a36;
  --accent: #ff4d7e;
  --accent-2: #0ea5e9;
  --card: rgba(255, 255, 255, 0.03);
  --glass: rgba(255, 255, 255, 0.04);
  --text: #eef7ff;
  --muted: #a9cbe8a6;
  --radius: 14px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: radial-gradient(800px 400px at 10% 10%, rgba(14, 165, 233, 0.06), transparent 6%),
    radial-gradient(700px 300px at 90% 85%, rgba(255, 77, 126, 0.05), transparent 6%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  justify-content: center;
  padding: 28px;
}

.page {
  width: 100%;
  max-width: var(--maxw);
  padding: 18px
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: sticky;
  top: 0;
  background-color: #081a36;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.04)
}

.brand-text h1 {
  margin: 0;
  font-size: 18px
}

.muted {
  color: var(--muted);
  font-size: 14px
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.03)
}

.hire {
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  font-weight: 700;
  color: #fff;
  text-decoration: none
}

.accent {
  width: 0;
  overflow: hidden;
  border-right: 3px solid #ff8a8a;
  white-space: nowrap;
  animation: typing 3s steps(14, end), blink .75s step-end infinite;
  color: #cc0f6e;
  display: inline-block;
  animation-iteration-count: infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 5ch
  }

  /* "Hello, I'm Utsho" = 14 characters */
}

@keyframes blink {
  50% {
    border-color: transparent
  }
}

/* hamburger */
.hamburger {
  display: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 44px;
  height: 44px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  border-radius: 2px
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6)
}

.pill {
  display: inline-flex;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.12);
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.06), rgba(255, 107, 107, 0.02));
  font-weight: 700
}

.hero h2 {
  margin: 14px 0 10px 0;
  font-size: 30px
}

.lead {
  margin: 0 0 14px 0;
  color: var(--muted)
}

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

.btn {
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block
}

.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  font-weight: 700;
  color: white;
  border: 0
}

.ghost {
  border: 1px dashed rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text);
  font-weight: 700
}

.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px
}

.kpi {
  background: var(--card);
  padding: 12px;
  border-radius: 12px;
  width: 140px;
  text-align: center;
  border: 1px solid rgba(14, 165, 233, 0.03)
}

.kpi strong {
  display: block;
  font-size: 18px
}

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

.profile-photo {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.04)
}

.profile-meta h3 {
  margin: 0
}

/* sections */
.section {
  margin-bottom: 30px
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px
}

.grid {
  display: grid;
  gap: 16px
}

/* services */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03)
}

/* portfolio */
.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.work {
  height: 200px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: pointer
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: all .25s
}

.work:hover::after {
  opacity: 1;
  transform: translateY(-6px)
}

.work .work-info {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: white;
  z-index: 2
}

/* testimonials */
.test-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr))
}

.test {
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03)
}

/* contact */
.contact-grid {
  grid-template-columns: 1fr 360px
}

.contact-form {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent)
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: var(--text);
  outline: none
}

.contact-social {
  text-align: right;
}

.contact-social p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 20px;
  color: white;
}

.social-icons a.fb {
  background-color: #1877f2;
}

.social-icons a.wa {
  background-color: #25d366;
}

.social-icons a.li {
  background-color: #0a66c2;
}

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: all .6s cubic-bezier(.2, .9, .2, 1)
}

.reveal.show {
  opacity: 1;
  transform: none
}

/* responsive */
@media (max-width:980px) {
  .hero {
    grid-template-columns: 1fr
  }

  .hero-right {
    order: -1
  }

  .nav-links {
    display: none
  }

  .hamburger {
    display: flex
  }
}

@media (max-width:640px) {
  body {
    padding: 16px
  }

  .profile-photo {
    height: 180px
  }

  .kpi {
    width: 48%
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .brand-text h1 {
    font-size: 16px
  }
}



.theme-toggle {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--text-color);
}

.theme-toggle:hover {
  transform: rotate(20deg);
}

/* Light & Dark mode variables */
:root {
  --bg-color: #ffffff;
  --text-color: #889cff;
}

body.dark-mode {
  --bg-color: #121212;
  --text-color: #ffffff;
}

/* Apply colors globally */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
}


