:root {
  --home-blue: #00a4ff;
  --home-lime: #c7f408;
  --home-ink: #151c27;
  --home-copy: #444653;
  --home-shadow: 0 4px 8px rgba(0, 164, 255, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--home-ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.figma-home {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 0 0 120px;
  overflow: hidden;
  background: #fff;
}

.home-container {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.home-decoration {
  position: absolute;
  z-index: -3;
  width: 1005px;
  height: 761px;
  border-radius: 121px;
  background: linear-gradient(130deg, rgba(0, 164, 255, 0.2) 4%, rgba(255, 255, 255, 0) 99.5%);
  transform: rotate(-156.43deg);
  pointer-events: none;
}

.home-decoration-top {
  top: -640px;
  left: 5%;
}

.home-decoration-middle {
  top: 720px;
  right: -540px;
}

.home-decoration-bottom {
  top: 3000px;
  right: -520px;
}

.home-blob {
  position: absolute;
  z-index: -2;
  object-fit: contain;
  pointer-events: none;
}

.home-blob-one {
  top: 520px;
  left: -120px;
  width: 320px;
  height: 305px;
}

.home-blob-two {
  top: 1160px;
  left: -190px;
  width: 580px;
  height: 555px;
}

.home-blob-three {
  top: 400px;
  right: -20px;
  width: 440px;
  height: 435px;
}

.home-blob-four {
  top: 2290px;
  right: 60px;
  width: 440px;
  height: 435px;
}

.home-hero {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 48px));
  margin: 12px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero-logo {
  width: 301px;
  height: 75px;
  object-fit: contain;
}

.home-trust-badge {
  min-height: 32px;
  margin: 18px 0 23px;
  padding: 4px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--home-copy);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0, 164, 255, 0.43);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.home-trust-icon {
  width: 15px;
  height: 14px;
  object-fit: contain;
}

.home-hero h1 {
  margin: 0;
  color: var(--home-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.28px;
}

.home-hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--home-blue);
}

.home-title-underline {
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 100%;
  height: 12px;
}

.home-hero > p {
  max-width: 1060px;
  margin: 36px 0 0;
  color: var(--home-copy);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.home-hero-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-button {
  min-height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--home-blue);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-decoration: none;
}

.home-button-primary {
  color: #fff;
  background: var(--home-blue);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.home-button-secondary {
  color: var(--home-blue);
  background: transparent;
}

.home-button-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.home-search-section {
  position: relative;
  z-index: 8;
  width: min(633px, calc(100% - 48px));
  margin: 70px auto 0;
}

.home-search-box {
  position: relative;
  width: 100%;
  height: 47px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--home-shadow);
}

.home-search-icon {
  width: 47px;
  height: 47px;
  margin-left: 42px;
  object-fit: contain;
  transform: rotate(180deg) scaleY(-1);
}

.home-search-input {
  width: 100%;
  height: 100%;
  padding: 0 28px 0 21px;
  color: var(--home-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: 500 15px/1.5 Inter, sans-serif;
  text-transform: uppercase;
}

.home-search-input::placeholder {
  color: rgba(98, 98, 98, 0.43);
  opacity: 1;
}

.home-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 22px;
  right: 22px;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(0, 164, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 92, 148, 0.18);
}

.home-search-results a,
.home-search-empty {
  display: block;
  padding: 10px 12px;
  color: var(--home-copy);
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.home-search-results a:hover,
.home-search-results a:focus-visible {
  color: var(--home-blue);
  background: rgba(0, 164, 255, 0.08);
}

.home-quick-answer {
  min-height: 106px;
  margin-top: 34px;
  padding: 16px 16px 16px 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow: hidden;
  background: #fff;
  border-left: 4px solid var(--home-blue);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.home-quick-icon {
  width: 20px;
  height: 24px;
  flex: 0 0 20px;
  object-fit: contain;
}

.home-quick-answer p {
  margin: 0;
  color: var(--home-blue);
  font-size: 16px;
  line-height: 24px;
}

.home-featured {
  margin-top: 110px;
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.home-section-heading span {
  display: block;
  color: var(--home-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.home-section-heading h2,
.home-task-section > h2,
.home-popular > h2 {
  margin: 0;
  color: var(--home-blue);
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
}

.home-browse-button {
  min-width: 208px;
  height: 61px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--home-blue);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--home-shadow);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.home-browse-icon {
  width: 19px;
  height: 19px;
  object-fit: contain;
  transform: rotate(90deg);
}

.home-featured-grid {
  margin-top: 23px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.home-featured-card {
  min-width: 0;
  min-height: 161px;
  padding: 26px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--home-copy);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--home-shadow);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-featured-card:hover,
.home-featured-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 164, 255, 0.32);
}

.featured-icon {
  width: 30px;
  font-size: 25px;
  line-height: 1;
  text-align: center;
}

.featured-icon-tile {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #008fdf;
  background: linear-gradient(145deg, #f3fbff 0%, #dff4ff 100%);
  border: 1px solid rgba(0, 164, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 7px 16px rgba(0, 164, 255, 0.14), inset 0 1px 0 #fff;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.home-featured-card:hover .featured-icon-tile,
.home-featured-card:focus-visible .featured-icon-tile {
  color: #fff;
  background: linear-gradient(145deg, #10b3ff 0%, #008bd8 100%);
  transform: scale(1.06) rotate(-3deg);
}

.featured-icon-audit {
  width: 39px;
  height: 42px;
  flex-basis: 39px;
  transform: rotate(8deg);
}

.featured-icon-domain {
  width: 40px;
  height: 67px;
  flex-basis: 40px;
  object-fit: cover;
}

.featured-icon-word {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
}

.home-featured-card h3 {
  margin: 0 0 4px;
  color: var(--home-copy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.home-featured-card p {
  margin: 0;
  color: var(--home-copy);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}


.home-task-section {
  margin-top: 90px;
  filter: drop-shadow(0 4px 2px rgba(0, 164, 255, 0.3));
}

.home-task-list {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.home-task-card {
  min-height: 210px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  overflow: hidden;
  color: var(--home-copy);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.home-task-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  background: var(--home-lime);
  border-radius: 12px;
}

.task-icon-leaf {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.task-icon-attendance {
  width: 18px;
  height: 20px;
}

.task-icon-scholarship {
  width: 16px;
  height: 21px;
}

.task-icon-career {
  width: 20px;
  height: 19px;
}

.home-task-card h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.home-task-card p {
  margin: 0;
  color: var(--home-copy);
  font-size: 14px;
  line-height: 20px;
}

.home-task-card small {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(98, 98, 98, 0.43);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.6px;
}

.task-arrow {
  width: 11px;
  height: 8px;
  object-fit: contain;
}

.home-popular {
  margin-top: 90px;
  padding: 24px 16px;
  background: #fff;
  filter: drop-shadow(0 4px 2px rgba(0, 164, 255, 0.3));
}

.home-popular-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.home-popular-list > a {
  min-height: 68px;
  padding: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #000;
  background: rgba(0, 164, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.popular-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.popular-icon-cgpa {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.popular-icon-admissions {
  width: 22px;
  height: 27px;
  flex-basis: 22px;
}

.popular-icon-scholarship {
  width: 18px;
  height: 26px;
  flex-basis: 18px;
}

.popular-icon-cv {
  width: 16px;
  height: 24px;
  flex-basis: 16px;
}

.home-popular-list span {
  display: grid;
  gap: 2px;
}

.home-popular-list strong {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.home-popular-list small {
  font-size: 14px;
  line-height: 20px;
}

.home-methodology {
  margin-top: 90px;
  display: grid;
  gap: 24px;
}

.home-methodology-main {
  display: grid;
  gap: 8px;
}

.home-method-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--home-blue);
  border-radius: 12px;
}

.method-icon-leaf {
  width: 20px;
  height: 16px;
  object-fit: contain;
}

.home-methodology h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.home-methodology p {
  margin: 0;
  color: var(--home-copy);
  font-size: 16px;
  line-height: 24px;
}

.home-methodology aside {
  padding: 16px;
  display: grid;
  gap: 8px;
  background: rgba(0, 164, 255, 0.1);
  border-radius: 8px;
}

.home-methodology aside h2 {
  font-size: 20px;
  line-height: 28px;
}

.home-faq {
  width: min(686px, calc(100% - 48px));
  margin-top: 90px;
}

.home-faq > h2 {
  margin: 0 0 28px;
  color: var(--home-blue);
  font-size: 36px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.home-faq-list {
  display: grid;
  gap: 17px;
}

.home-faq details {
  color: var(--home-blue);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--home-shadow);
}

.home-faq summary {
  min-height: 61px;
  padding: 14px 64px 14px 64px;
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::before {
  content: "";
  position: absolute;
  left: 39px;
  width: 13px;
  height: 12px;
  background: url("../images/home-figma/faq-dot.svg") center / 13px 12px no-repeat;
}

.home-faq summary::after {
  content: "";
  position: absolute;
  right: 40px;
  width: 24px;
  height: 24px;
  background: url("../images/home-figma/chevron.svg") center / 24px 24px no-repeat;
  transform: rotate(180deg);
  transition: transform 180ms ease;
}

.home-faq details[open] summary::after {
  transform: rotate(0);
}

.home-faq details p {
  margin: -3px 64px 0;
  padding: 0 0 20px;
  color: var(--home-copy);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .home-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .figma-home {
    padding-bottom: 72px;
  }

  .home-container {
    width: min(100% - 32px, 680px);
  }


  .home-hero {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .home-hero-logo {
    width: min(260px, 76vw);
    height: auto;
  }

  .home-hero h1 {
    font-size: 26px;
    line-height: 34px;
  }

  .home-hero > p {
    font-size: 16px;
    line-height: 25px;
  }

  .home-search-section {
    width: calc(100% - 32px);
    margin-top: 52px;
  }

  .home-search-icon {
    margin-left: 8px;
  }

  .home-quick-answer {
    margin-top: 28px;
  }

  .home-featured,
  .home-task-section,
  .home-popular,
  .home-methodology,
  .home-faq {
    margin-top: 64px;
  }

  .home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-browse-button {
    min-width: 168px;
    height: 52px;
    padding: 0 18px;
    font-size: 16px;
  }

  .home-decoration-middle {
    top: 1100px;
  }

  .home-blob-three {
    right: -230px;
  }
}


@media (max-width: 540px) {
  .home-hero {
    margin-top: 24px;
  }

  .home-trust-badge {
    font-size: 10px;
  }

  .home-hero h1 {
    max-width: 350px;
    font-size: 24px;
    line-height: 32px;
  }

  .home-hero > p {
    margin-top: 28px;
  }

  .home-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }

  .home-search-icon {
    width: 40px;
    height: 40px;
  }

  .home-quick-answer {
    padding: 16px;
  }

  .home-quick-answer p {
    font-size: 14px;
    line-height: 21px;
  }

  .home-section-heading {
    align-items: center;
  }

  .home-browse-button {
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .home-featured-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-card {
    min-height: 142px;
  }

  .home-task-card {
    min-height: 235px;
  }

  .home-popular-list > a {
    min-height: 86px;
  }

  .home-faq {
    width: calc(100% - 32px);
  }

  .home-faq > h2 {
    font-size: 28px;
    line-height: 1.25;
  }

  .home-faq summary {
    min-height: 61px;
    padding: 14px 48px 14px 42px;
    font-size: 16px;
  }

  .home-faq summary::before {
    left: 20px;
  }

  .home-faq summary::after {
    right: 18px;
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
  }

  .home-faq details p {
    margin-inline: 42px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-featured-card,
  .home-faq summary::after {
    transition: none;
  }
}
