.professional-page {
  font-family: 'Inter', sans-serif;
  color: var(--pro-text);
  background: linear-gradient(180deg, #fbfdff 0%, var(--pro-bg) 100%);
}

/* Nav */
.top-nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
}

/* Hero */
.pro-hero {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 20px 36px;
}

.pro-hero h2 {
  font-size: 2.2rem;
  margin-top: 20px;
}

.pro-hero .meta {
  color: var(--pro-muted);
  margin-top: 8px;
}

/* Sections */
.pro-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 20px;
  position: relative;
}

.pro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.06),
    transparent
  );
}

.pro-section h2 {
  font-size: 1.9rem;
  margin-bottom: 26px;
}

.pro-section h2::after {
  content: "";
  width: 46px;
  height: 3px;
  background: var(--pro-accent);
  margin-top: 8px;
  display: block;
  border-radius: 2px;
}

/* Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;        /* center each card */
}

/* card fullness tweak */
.pro-card {
  min-width: 280px;
}

/* about section widen */
.about-card {
  flex: 1 1 100%;
  max-width: 600px;
}

/* ensure cards fill on narrow screens */
@media (max-width: 760px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}


/* Cards */
.pro-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid var(--pro-border);
  border-radius: 16px;
  padding: 24px;
  transition: 0.3s ease;
}

.pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(31,79,255,0.14);
}

/* additional utility components */

/* add subtle comic accent on professional links */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--chill-accent);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

.tech-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
}
.tech-list li {
  background: var(--pro-bg);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--pro-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.github-link {
  color: var(--pro-accent);
  margin-left: 8px;
  text-decoration: none;
}
.github-link:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 24px;
}
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card .social-links a {
  display: block;
  margin-top: 8px;
  color: var(--pro-text);
}

/* small tweaks for hero area */
.pro-hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}