* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #111;
  min-height: 100vh;

  background: radial-gradient(
      800px 500px at 50% 95%,
      rgba(120, 60, 200, 0.25),
      transparent 65%
    ),
    radial-gradient(
      900px 500px at 15% 10%,
      rgba(30, 80, 200, 0.34),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 85% 20%,
      rgba(220, 140, 60, 0.34),
      transparent 60%
    ),
    linear-gradient(180deg, #fafafa, #f0f0f0);
}

.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

/*  Navbar  */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;

  background: rgba(255, 255, 255, 0.21);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#navbar .nav-inner {
  width: min(1000px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

#navbar a {
  text-decoration: none;
  color: #111;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  display: inline-block;
}

#navbar a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

section {
  scroll-margin-top: 84px;
}

/*  Welcome Section  */
#welcome-section {
  /*min-height: 100vh; */
  display: flex;
  align-items: center;
  padding: 96px 0 56px;
}

.hero-inner {
  width: 100%;
  text-align: center;
}

.brand-headline {
  margin: 0;
}

.brand-arc {
  width: min(760px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.brand-arc text {
  fill: #111;
  font-weight: 900;
  letter-spacing: 4px;
}

.top-line {
  font-size: 56px;
}
.bottom-line {
  font-size: 24px;
  letter-spacing: 6px;
}

.tagline {
  margin: 14px auto 0;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.78);
}

.card-grid {
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
}

.info-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transition: transform 150ms ease, box-shadow 150ms ease;
  text-align: left;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.info-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.74);
}

.meta {
  margin-top: 22px;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.65);
}

/* Projects Section*/
#project-section {
  padding: 72px 0;
}

.section-title {
  margin: 0 0 18px;
  font-size: 1.8rem;
  text-align: center;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.project-tile {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.project-tile h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.project-tile p {
  margin: 0 0 12px;
  color: rgba(0, 0, 0, 0.74);
  line-height: 1.5;
  font-size: 0.95rem;
}

.project-tile a {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  color: #111;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.project-tile {
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.project-tile a:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

/*Footer/Contact*/
#contact {
  padding: 72px 0 96px;
  text-align: center;
}

.contact-card {
  margin: 44px auto;
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.contact-card p {
  margin: 10px 0 18px;
  color: rgba(0, 0, 0, 0.74);
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #111;
  color: #fff;
}

.btn:hover {
  opacity: 0.92;
}

/* Media Queries*/

@media (max-width: 560px) {
  .top-line {
    font-size: 42px;
  }
  .bottom-line {
    font-size: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
  .info-card {
    text-align: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  #navbar .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 400px) {
  #navbar .nav-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  #navbar a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0;
  }
  #welcome-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 144px 0 56px;
  }
}

/*to visually remove h1 at top but keep for seo, for curved text*/
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.contact-card {
  text-align: center;
}

#phone {
  text-decoration: none;
  color: black;
}

/**/
article img {
  width: 100%;
  height: auto;
}
