/* =========================================================
   Jashvitha homepage styles
   Scoped to .jashvitha-home to avoid affecting other pages.
   ========================================================= */

.jashvitha-home {
  --jh-blue: #0866f5;
  --jh-navy: #10195d;
  --jh-text: #17245f;
  --jh-muted: #5e6b91;
  --jh-border: #dce8ff;
  color: var(--jh-text);
  background: #fff;
  font-family: inherit;
  overflow: clip;
}

.jashvitha-home *,
.jashvitha-home *::before,
.jashvitha-home *::after {
  box-sizing: border-box;
}

.jashvitha-home a {
  text-decoration: none;
}

.j-home-container {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

.j-home-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 75% 28%, rgba(66, 166, 255, .19), transparent 33%),
    linear-gradient(110deg, #f4f9ff 0%, #edf6ff 46%, #e0efff 100%);
  overflow: hidden;
}

.j-home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: 9%;
  top: -330px;
  border: 1px solid rgba(25, 123, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(25, 123, 255, .035), 0 0 0 86px rgba(25, 123, 255, .025);
}

.j-home-hero-inner {
  width: min(1240px, calc(100% - 56px));
  min-height: 435px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 24px;
  padding: 34px 0 26px;
}

.j-home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
  padding: 8px 0;
}

.j-home-hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: #11175b;
  font-size: clamp(37px, 4.05vw, 62px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .99;
  text-wrap: balance;
}

.j-home-hero-copy h1 span {
  display: inline;
  color: var(--jh-blue);
}

.j-home-hero-description {
  max-width: 570px;
  margin: 17px 0 19px;
  color: #253368;
  font-size: 15px;
  line-height: 1.65;
}

.j-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

.j-home-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9px;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.j-home-button:hover {
  transform: translateY(-2px);
}

.j-home-button-primary {
  color: #fff;
  background: linear-gradient(105deg, #0874ff, #0755ed);
  box-shadow: 0 9px 22px rgba(0, 94, 255, .2);
}

.j-home-button-secondary {
  color: #075ff2;
  background: rgba(255, 255, 255, .84);
  border: 1px solid #9fc4ff;
}

.j-home-play {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--jh-blue);
  font-size: 9px;
}

.j-home-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(49, 119, 221, .11);
  padding-top: 18px;
}

.j-home-benefit {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0 12px;
  border-right: 1px solid #d9e8ff;
}

.j-home-benefit:first-child {
  padding-left: 0;
}

.j-home-benefit:last-child {
  padding-right: 0;
  border-right: 0;
}

.j-home-benefit svg {
  color: var(--jh-blue);
  margin-bottom: 2px;
}

.j-home-benefit strong {
  color: #10195d;
  font-size: 11px;
  line-height: 1.25;
}

.j-home-benefit span {
  color: #5c6a91;
  font-size: 10px;
  line-height: 1.45;
}

.j-home-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 355px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.j-home-hero-image-wrap {
  position: absolute;
  inset: 12px 0 25px 4px;
  overflow: hidden;
  border-radius: 24px;
  background: #cce5ff;
  box-shadow: 0 25px 60px rgba(17, 73, 155, .16);
}

.j-home-hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.j-home-image-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(232, 244, 255, .12), transparent 30%),
    linear-gradient(0deg, rgba(6, 29, 75, .12), transparent 28%);
}

.j-home-floating-tag {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 165px;
  min-height: 53px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(14, 61, 133, .15);
  color: #10215e;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  backdrop-filter: blur(12px);
}

.j-home-floating-tag svg {
  flex: 0 0 auto;
  color: var(--jh-blue);
}

.j-home-tag-web { top: 11%; left: 5%; }
.j-home-tag-mobile { top: 31%; right: -1%; }
.j-home-tag-cloud { top: 54%; left: 0; }
.j-home-tag-ai { top: 72%; right: 3%; }
.j-home-tag-security { top: 84%; left: 17%; }

.j-home-image-caption {
  position: absolute;
  z-index: 3;
  left: 25%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 13px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(14, 61, 133, .13);
}

.j-home-caption-icon {
  color: var(--jh-blue);
}

.j-home-image-caption strong,
.j-home-image-caption small {
  display: block;
}

.j-home-image-caption strong {
  color: #10195d;
  font-size: 11px;
  line-height: 1.35;
  text-transform: capitalize;
}

.j-home-image-caption small {
  margin-top: 3px;
  color: #647196;
  font-size: 10px;
}

.j-home-section {
  padding-top: 26px;
  padding-bottom: 8px;
}

.j-home-section:last-child {
  padding-bottom: 28px;
}

.j-home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.j-home-section-heading h2 {
  margin: 0;
  color: #11175b;
  font-size: clamp(25px, 2.4vw, 35px);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: -.045em;
}

.j-home-section-heading h2 span {
  color: var(--jh-blue);
}

.j-home-section-heading p {
  margin: 5px 0 0;
  color: #5e6b91;
  font-size: 13px;
  line-height: 1.5;
}

.j-home-text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #80b2ff;
  border-radius: 8px;
  color: #075ff2;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
  transition: background .2s ease, transform .2s ease;
}

.j-home-text-link:hover {
  transform: translateY(-1px);
  background: #eff6ff;
}

.j-home-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.j-home-service-card {
  position: relative;
  display: flex;
  min-height: 194px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 17px 39px;
  border: 1px solid var(--card-border, #dceaff);
  border-radius: 15px;
  background: var(--card-bg, #f2f8ff);
  transition: transform .22s ease, box-shadow .22s ease;
}

.j-home-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 30px rgba(24, 77, 153, .11);
}

.j-home-service-card.tone-blue { --card-bg: #f0f7ff; --card-border: #d6e8ff; --card-color: #0874ff; }
.j-home-service-card.tone-pink { --card-bg: #fff3f8; --card-border: #ffdeeb; --card-color: #f72585; }
.j-home-service-card.tone-sky { --card-bg: #f0f9ff; --card-border: #d7edff; --card-color: #0874ff; }
.j-home-service-card.tone-purple { --card-bg: #f8f3ff; --card-border: #eadcff; --card-color: #8a2bfa; }
.j-home-service-card.tone-green { --card-bg: #effdf7; --card-border: #d4f8e7; --card-color: #00b878; }
.j-home-service-card.tone-orange { --card-bg: #fff9ed; --card-border: #ffebc9; --card-color: #f28b00; }

.j-home-service-icon {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--card-color);
}

.j-home-service-card h3 {
  margin: 0 0 8px;
  color: #11175b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.j-home-service-card p {
  margin: 0;
  color: #43527f;
  font-size: 11px;
  line-height: 1.55;
}

.j-home-circle-arrow {
  display: inline-flex;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--jh-blue);
  transition: transform .2s ease;
}

.j-home-service-card .j-home-circle-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--card-color);
}

.j-home-circle-arrow:hover {
  transform: translateX(2px);
}

.j-home-industry-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 9px;
}

.j-home-industry-tile {
  position: relative;
  min-width: 0;
  height: 126px;
  overflow: hidden;
  border-radius: 10px;
  background: #d9e8ff;
  box-shadow: 0 3px 10px rgba(10, 35, 95, .08);
}

.j-home-industry-tile::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(5, 19, 57, .88));
}

.j-home-industry-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.j-home-industry-tile:hover img {
  transform: scale(1.07);
}

.j-home-industry-tile span {
  position: absolute;
  z-index: 1;
  right: 5px;
  bottom: 10px;
  left: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.j-home-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.j-home-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0eaff;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(21, 65, 134, .045);
  transition: transform .22s ease, box-shadow .22s ease;
}

.j-home-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 30px rgba(21, 65, 134, .11);
}

.j-home-project-image-link {
  display: block;
  height: 155px;
  overflow: hidden;
  background: #edf5ff;
}

.j-home-project-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.j-home-project-card:hover .j-home-project-image-link img {
  transform: scale(1.04);
}

.j-home-project-body {
  padding: 13px 14px 14px;
}

.j-home-project-body h3 {
  margin: 0;
  color: #11175b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.j-home-project-body p {
  margin: 7px 0 12px;
  color: #5d6a91;
  font-size: 11px;
  line-height: 1.5;
}

.j-home-project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.j-home-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.j-home-tech-list span {
  padding: 5px 7px;
  border-radius: 5px;
  color: #24509b;
  background: #edf5ff;
  font-size: 9px;
  font-weight: 700;
}

.j-home-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.j-home-testimonial-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid #e0eaff;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #fbfdff);
  box-shadow: 0 5px 18px rgba(21, 65, 134, .035);
}

.j-home-quote-mark {
  color: #91baff;
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 800;
  line-height: .8;
}

.j-home-testimonial-quote {
  flex: 1;
  margin: 10px 0 17px;
  color: #344374;
  font-size: 12px;
  line-height: 1.65;
}

.j-home-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.j-home-author-avatar {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 2px solid #e1edff;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #edf5ff;
}

.j-home-author-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.j-home-author-info strong {
  color: #11175b;
  font-size: 12px;
  font-weight: 800;
}

.j-home-author-info > span:not(.j-home-stars) {
  color: #657194;
  font-size: 10px;
}

.j-home-stars {
  color: #ff9d00;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Tablet */
@media (max-width: 1080px) {
  .j-home-container,
  .j-home-hero-inner {
    width: min(100% - 40px, 960px);
  }

  .j-home-hero-inner {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 16px;
  }

  .j-home-hero-copy h1 {
    font-size: clamp(34px, 4.5vw, 48px);
  }

  .j-home-hero-visual {
    min-height: 330px;
  }

  .j-home-benefit {
    padding-inline: 8px;
  }

  .j-home-benefit strong {
    font-size: 10px;
  }

  .j-home-benefit span {
    font-size: 9px;
  }

  .j-home-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .j-home-service-card {
    min-height: 175px;
  }

  .j-home-industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .j-home-industry-tile {
    height: 145px;
  }

  .j-home-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 700px) {
  .j-home-container,
  .j-home-hero-inner {
    width: calc(100% - 32px);
  }

  .j-home-hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0 24px;
  }

  .j-home-hero-copy {
    padding: 0;
  }

  .j-home-hero-copy h1 {
    max-width: 600px;
    font-size: clamp(36px, 9.5vw, 52px);
    line-height: 1.02;
  }

  .j-home-hero-description {
    margin: 14px 0 17px;
    font-size: 14px;
    line-height: 1.6;
  }

  .j-home-benefits {
    margin-top: 23px;
    padding-top: 15px;
  }

  .j-home-benefit {
    gap: 5px;
    padding-inline: 7px;
  }

  .j-home-benefit svg {
    width: 20px;
    height: 20px;
  }

  .j-home-benefit strong {
    font-size: 9px;
  }

  .j-home-benefit span {
    font-size: 8px;
  }

  .j-home-hero-visual {
    min-height: 310px;
    margin-top: 3px;
  }

  .j-home-hero-image-wrap {
    inset: 8px 0 17px;
    border-radius: 19px;
  }

  .j-home-floating-tag {
    min-height: 40px;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 9px;
  }

  .j-home-floating-tag svg {
    width: 17px;
    height: 17px;
  }

  .j-home-tag-web { top: 8%; left: 3%; }
  .j-home-tag-mobile { top: 28%; right: 1%; }
  .j-home-tag-cloud { top: 51%; left: 1%; }
  .j-home-tag-ai { top: 68%; right: 2%; }
  .j-home-tag-security { top: 81%; left: 10%; }

  .j-home-image-caption {
    left: 25%;
    bottom: 0;
    max-width: 72%;
    gap: 8px;
    padding: 9px 11px;
  }

  .j-home-caption-icon svg {
    width: 22px;
    height: 22px;
  }

  .j-home-image-caption strong {
    font-size: 9px;
  }

  .j-home-image-caption small {
    font-size: 8px;
  }

  .j-home-section {
    padding-top: 24px;
  }

  .j-home-section-heading {
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 10px;
  }

  .j-home-section-heading h2 {
    font-size: 27px;
  }

  .j-home-section-heading p {
    max-width: 100%;
    font-size: 11px;
  }

  .j-home-text-link {
    gap: 5px;
    padding: 8px 9px;
    font-size: 10px;
    white-space: nowrap;
  }

  .j-home-text-link svg {
    width: 13px;
    height: 13px;
  }

  .j-home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .j-home-service-card {
    min-height: 174px;
    padding: 15px 13px 38px;
    border-radius: 12px;
  }

  .j-home-service-icon {
    margin-bottom: 10px;
  }

  .j-home-service-card h3 {
    font-size: 12px;
  }

  .j-home-service-card p {
    font-size: 10px;
  }

  .j-home-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .j-home-industry-tile {
    height: 130px;
  }

  .j-home-industry-tile span {
    font-size: 10px;
  }

  .j-home-project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .j-home-project-image-link {
    height: 190px;
  }

  .j-home-project-body {
    padding: 13px;
  }

  .j-home-project-body h3 {
    font-size: 14px;
  }

  .j-home-project-body p {
    font-size: 11px;
  }

  .j-home-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .j-home-testimonial-card {
    min-height: 190px;
    padding: 18px;
  }

  .j-home-testimonial-quote {
    font-size: 12px;
  }

  .j-home-author-avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }
}

@media (max-width: 390px) {
  .j-home-container,
  .j-home-hero-inner {
    width: calc(100% - 24px);
  }

  .j-home-hero-copy h1 {
    font-size: 34px;
  }

  .j-home-benefit {
    padding-inline: 5px;
  }

  .j-home-benefit strong {
    font-size: 8px;
  }

  .j-home-section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .j-home-text-link {
    align-self: flex-start;
  }

  .j-home-floating-tag {
    font-size: 8px;
    padding: 7px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jashvitha-home *,
  .jashvitha-home *::before,
  .jashvitha-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}