* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
  scroll-behavior: smooth;
  user-select: none;

}

html {
  --nav-offset: 108px;
  --section-pad-y: clamp(3rem, 6vw, 5rem);
  scroll-padding-top: var(--nav-offset);
}

*::-webkit-scrollbar {
  display: none;
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 35%);
  overflow-x: hidden;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 2rem);
  padding-top: 0;
}

p {
  color: rgb(85, 85, 85);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  width: auto;
  height: auto;
  margin: 0.75rem;
  padding: 0.5rem 0.75rem;
  clip: auto;
  overflow: visible;
  border-radius: 10px;
  background: #0f172a;
  color: #ffffff;
  z-index: 3000;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

a {
  text-decoration: none;
  color: rgb(85, 85, 85);
}

.navbar {
  height: 4.5rem;
  width: min(95%, 980px);
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  z-index: 1000;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 35px rgba(2, 6, 23, 0.14);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: black;
  cursor: default;
}

.logo a {
  color: inherit;
}

.logo:hover {
  color: #2563eb;
}

.navlinks {
  font-size: 1rem;
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.navlinks a {
  color: #0f172a;
  font-weight: 500;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.navlinks a:hover {
  color: #2563eb;
  background-color: rgba(37, 99, 235, 0.08);
}

.menubar {
  display: none;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #0f172a;
  background: none;
  border: none;
  padding: 0.5rem;
}

.menu {
  display: none;
}

.off-menu {
  display: none;
}

/* Common Section CSS */
section {
  margin-top: 0;
  position: relative;
  width: 100%;
  flex: 0 0 auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  scroll-margin-top: var(--nav-offset);
  padding: var(--section-pad-y) clamp(1.25rem, 3vw, 2.25rem);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  background-color: white;
}

section+section {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

section+section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.28), transparent);
  pointer-events: none;
}

.section-text {
  font-size: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  width: min(92%, 680px);
  margin-bottom: 0;
}

.section-text::after {
  content: "";
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.85), rgba(20, 184, 166, 0.75));
  opacity: 0.65;
}

.section-text .text-p1 {
  margin-top: 0;
  font-size: 16px;
}

/* Profile Section TODO:*/

.profile {
  margin-top: var(--nav-offset);
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  min-height: calc(100vh - var(--nav-offset));
  background:
    radial-gradient(circle at 18% 24%, rgba(20, 184, 166, 0.14), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 82%);
}

.profile-section-text {
  font-size: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: min(100%, 620px);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  position: relative;
  z-index: 1;
}

.title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.profile-section-text .text-p1 {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.8);
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-marquee {
  width: min(100%, 560px);
  overflow: hidden;
  padding: 0.18rem 0;
  border-block: 1px solid rgba(148, 163, 184, 0.28);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.skill-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: skill-scroll 22s linear infinite;
}

.skill-marquee:hover .skill-marquee-track,
.skill-marquee:focus .skill-marquee-track,
.skill-marquee:focus-within .skill-marquee-track {
  animation-play-state: paused;
}

.skill-marquee span {
  flex: 0 0 auto;
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #1e293b;
  font-size: clamp(0.86rem, 1.4vw, 0.98rem);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

@keyframes skill-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.profile-lead {
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #475569;
}

.profile .profile-pic1 {
  height: clamp(22rem, 38vw, 29rem);
  width: clamp(19rem, 33vw, 26rem);
  object-fit: cover;
  object-position: center;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 36% 64% 48% 52% / 42% 38% 62% 58%;
  outline: 2px solid rgba(37, 99, 235, 0.22);
  outline-offset: 10px;
  box-shadow:
    0 28px 54px rgba(15, 23, 42, 0.22),
    22px 18px 0 rgba(20, 184, 166, 0.1),
    -18px -16px 0 rgba(37, 99, 235, 0.09);
  position: relative;
  z-index: 1;
}

.btn-container {
  padding: 14px 0;
  display: flex;
  gap: 0.75rem;
}

.btn-container .btn-one,
.btn-two {
  width: auto;
  min-width: 9.5rem;
  padding: 0.84rem 1.2rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #0f172a;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-container .btn-one {
  color: #0f172a;
  background-color: #f8fafc;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-container .btn-two {
  background-color: #1e293b;
  color: whitesmoke;
  border-color: #1e293b;
  transition: background-color 0.2s ease;
}

.btn-container .btn-one:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.btn-container .btn-two:hover {
  background-color: #334155;
}

.btn-container .btn-one:disabled,
.btn-container .btn-two:disabled {
  cursor: not-allowed;
  color: #94a3b8;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.profile .profile-section-text .social-media a {
  font-size: 40px;
  color: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.profile .profile-section-text .social-media a img {
  height: 26px;
  width: 26px;
  margin: 0;
}

.profile .profile-section-text .social-media a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
}

/* ABOUT SECTION */
.about {
  min-height: auto;
}

.about-container {
  min-height: 70vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 0;
}

.about .profile-pic2 {
  height: 300px;
  width: 300px;
  background-color: rgb(160, 158, 158);
  border-radius: 30px;
}

.about-right-box {
  width: min(700px, 100%);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.about-info {
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 1.25rem;
}

.info-box {
  width: 21rem;
  min-height: 190px;
  padding: 1.55rem;
  margin: 0;
  text-align: left;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 36%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 38px rgba(37, 99, 235, 0.14);
}

.info-box img {
  width: 42px;
  height: 42px;
  padding: 0.55rem;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.info-box h1 {
  margin-bottom: 0.55rem;
  color: #0f172a;
  font-size: 1.12rem;
  line-height: 1.25;
}

.info-box p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
}

.info-box p:first-of-type {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 700;
}

.about-paragraph {
  padding: 20px 24px;
  line-height: 1.85;
  text-align: justify;
}

/* Skills */

.skill-experience {
  height: auto;
  background:
    radial-gradient(circle at 14% 18%, rgba(20, 184, 166, 0.08), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(37, 99, 235, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.skills-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0 24px;
  align-items: stretch;
}

.skill-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 38%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-top: 4px solid var(--skill-accent);
  border-radius: 20px;
  padding: 1.7rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  min-height: 245px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.skill-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill-icon {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, #eff6ff, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(37, 99, 235, 0.1);
}

.skill-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.skill-icon-fallback {
  color: var(--skill-accent);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.skill-eyebrow {
  margin-bottom: 0.2rem;
  color: var(--skill-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: 0;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
  align-content: flex-start;
}

.skill-tag {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #1e293b;
  border-radius: 10px;
  padding: 0.58rem 0.78rem;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: var(--skill-accent);
  box-shadow: 0 24px 44px rgba(37, 99, 235, 0.14);
}

.skill-card:hover .skill-tag {
  background: #eff6ff;
  border-color: var(--skill-accent);
}

.cards-container {
  width: 100%;
  margin: 0;
  padding: 28px 32px;
  min-height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 28px;
  align-items: start;
  justify-items: stretch;
  justify-content: center;
  position: relative;
}

.card {
  width: 100%;
  height: auto;
  min-height: 360px;
  margin: 0;
  border: 2px solid gray;
  text-align: center;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  gap: 12px;
  flex-direction: column;
  margin-bottom: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1),
    0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1),
    0 16px 16px rgba(0, 0, 0, 0.1);
}

.cards-container .card img {
  background-color: #e2e8f0;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.dashboard {
  min-height: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.dashboard .section-text,
.dashboard-cards {
  position: relative;
  z-index: 1;
}

.dashboard-cards {
  margin: 0 auto;
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0 24px;
  align-items: stretch;
}

.stat-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 20px;
  padding: 1.7rem 1.4rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.55rem;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  min-height: 170px;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.16);
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #64748b;
}

.stat-card h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  color: #0f172a;
  margin: 0.1rem 0;
  line-height: 1.35;
  font-weight: 700;
}

.stat-sub {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
  margin-top: 0.15rem;
}

.stat-sub {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start;
}

.stat-sub .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

/* Hover / focus highlight for dashboard small icons (simple border) */
.stat-sub .stat-icon {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.stat-sub .stat-icon:hover,
.stat-sub .stat-icon:focus-visible {
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.08);
}

/* small icon before stat titles */
.stat-title-icon {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 0.55rem;
  display: inline-block;
}

.stat-sub .stat-icon img {
  width: 26px;
  height: 26px;
  display: block;
}

.stat-sub .count {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

#problems-solved-total,
#projects-count,
#certifications-count {
  font-size: clamp(2.05rem, 3.1vw, 2.55rem);
  line-height: 1.05;
}

/* Projects Section */

.projects .btn-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.8rem;
}

.projects .cards-container .card {
  width: 100%;
  max-width: 320px;
  min-height: 420px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff, #f8fbff 65%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 0.9rem;
}

.projects .cards-container,
.certifications .cards-container {
  width: min(1320px, 100%);
  margin: 0 auto;
  margin-top: 0px;
  overflow: visible;
  min-height: auto;
  justify-items: center;
}

.projects .cards-container .card img {
  height: 185px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.projects .card .project-title {
  font-size: 1.12rem;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
  margin-top: 0.55rem;
}

.projects .card .project-description {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6.1rem;
}

.projects .cards-container .card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 18px 36px rgba(29, 78, 216, 0.16);
}

.projects .card .btn-container .btn-one,
.projects .card .btn-container .btn-two {
  min-width: 0;
  flex: 1;
  font-size: 0.82rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
}

.projects .card .btn-container .btn-one {
  border: 1px solid #0f172a;
  background: #f8fafc;
  color: #0f172a;
}

.projects .card .btn-container .btn-two {
  background: #1e293b;
  color: white;
  border: 1px solid #1e293b;
  box-shadow: none;
}

.projects .card .btn-container .btn-one:hover,
.projects .card .btn-container .btn-two:hover {
  transform: none;
}

.projects .card .btn-container .btn-two:hover {
  background: #334155;
}

.projects .card .btn-container .btn-one:hover {
  background: #e2e8f0;
}

.certifications .card {
  min-height: 380px;
  width: 100%;
  max-width: 320px;
}

.certifications .card img {
  height: 220px;
}

.certificate-placeholder {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Certifications */

/* Contact Section */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: white;
  min-height: auto;
  padding-bottom: 4rem;
  justify-content: flex-start;
}

.contact .section-text {
  margin-top: 0;
  margin-bottom: 2;
}

.contact-container {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  padding: 2.2rem;
  margin-top: 0;
  margin-bottom: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  transition: all 0.3s ease;
}

.contact-info .contact-item:hover {
  outline: 2px solid black;
}

.contact img {
  height: 40px;
  width: 40px;
  margin: 0;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin: 0;
}

.contact-item a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.contact-form {
  background: white;
  border: 3px solid #cbd5e1;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.3rem;
  color: #1e293b;
  margin: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #475569;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-submit,
.btn-reset {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit {
  background-color: #000000;
  color: white;
}

.btn-submit:hover {
  background-color: #1f2937;
}

.btn-reset {
  background-color: #f3f4f6;
  color: #1f2937;
  border: 2px solid #000000;
}

.btn-reset:hover {
  background-color: #000000;
  color: white;
  border-color: #000000;
}

.form-note {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

footer {
  position: relative;
  padding: 3.5rem 2.5rem;
  background-color: rgb(31, 41, 55);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: white;
  font-size: 1rem;
  margin: 0 0 0.75rem 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #2563eb;
}

footer .cpy-right {
  color: #94a3b8;
  text-align: center;
  font-size: 0.9rem;
}

footer .back-to-top {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .back-to-top:hover {
  color: #1d4ed8;
}

/* Resume Page */
.resume-body {
  background-color: white;
}

.resume-header {
  width: 100%;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(2, 6, 23, 0.08);
  background: white;
}

.resume-title {
  font-size: 1.4rem;
  font-weight: 650;
  color: #0f172a;
}

.resume-container {
  width: 100%;
  margin: 0;
  flex: 1;
  min-height: 0;
}

.resume-viewer {
  height: 100%;
}

.resume-download-btn {
  color: black;
  font-size: 22px;
  border: 3px solid black;
  border-radius: 2rem;
  padding: 10px 15px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.resume-download-btn:hover {
  background-color: black;
  color: white;
  border: 3px solid white;
}

.resume-body .resume-pdf {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
}

.resume-no-preview {
  padding: 16px;
  color: #475569;
}

/* Feedback Form */

.resume-body #feedback-box {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 24px 16px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}


.resume-body .form-off {
  border: none;
  height: 40px;
  width: 40px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 22px;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  background: transparent;
  color: #0f172a;
}


.resume-body .form-off:hover {
  background-color: rgba(15, 23, 42, 0.08);
}


.resume-body .feedback-form {
  position: relative;
  width: min(92vw, 560px);
  margin: 0 auto;
  background: white;
  border: 1px solid rgba(2, 6, 23, 0.12);
  border-radius: 18px;
  padding: 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
}

.resume-body .feedback-form h2 {
  margin-right: 44px;
  color: #0f172a;
}

.resume-body .feedback-hint {
  margin-top: -4px;
  color: #475569;
  font-size: 0.95rem;
}


.resume-body #user-name,
.resume-body #user-feedback {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 12px;
  background: white;
  color: #0f172a;
}

.resume-body #user-name:focus,
.resume-body #user-feedback:focus {
  outline: 2px solid rgba(37, 99, 235, 0.4);
  border-color: rgba(37, 99, 235, 0.7);
}


.resume-body #user-feedback {
  min-height: 160px;
  max-height: 46vh;
  resize: vertical;
}


.resume-body #form-result {
  min-height: 1.25rem;
  font-size: 0.95rem;
  color: #0f172a;
}

.resume-body .feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}


.resume-body #skip-btn,
.resume-body #form-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.resume-body #skip-btn {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.resume-body #skip-btn:hover {
  background: rgba(15, 23, 42, 0.14);
}

.resume-body #form-btn {
  background: #0f172a;
  color: white;
}


.resume-body #form-btn:hover {
  background: #111827;
}

.resume-body #feedback-box.displayform {
  display: grid;
  place-items: center;
}
