/*--------------------------------------------------------------
# Jishnu Tattva – Home page design
# Loaded only by resources/views/front/index.blade.php
# One font family (Poppins) for header, body and footer on this page.
--------------------------------------------------------------*/
:root {
  --default-font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --nav-font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --jt-blue: #136ad5;
  --jt-blue-dark: #0b3d82;
  --jt-navy: #0d2447;
  --jt-sky: #eaf3ff;
  --jt-saffron: #ff9933;
  --jt-green: #138808;
  --jt-text: #3b4658;
  --jt-radius: 22px;
  --jt-shadow: 0 10px 35px rgba(19, 106, 213, .12);
  --jt-shadow-lg: 0 22px 55px rgba(13, 36, 71, .18);
}

body,
.header,
.navmenu a,
.footer,
.btn,
.accordion-button {
  font-family: var(--default-font);
}

/* ---------- shared ---------- */
.jt-home {
  color: var(--jt-text);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

.jt-home h1,
.jt-home h2,
.jt-home h3,
.jt-home h4,
.jt-home h5 {
  font-family: var(--heading-font);
  color: var(--jt-navy);
  font-weight: 700;
  line-height: 1.25;
}

.jt-home p {
  margin-bottom: 1rem;
}

.jt-section {
  position: relative;
  padding: 90px 0;
  overflow: clip;
}

.jt-section.jt-tint {
  background: linear-gradient(180deg, #f5faff 0%, #eaf3ff 100%);
}

.jt-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(19, 106, 213, .1);
  color: var(--jt-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.jt-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}

.jt-title span,
.jt-gradient-text {
  background: linear-gradient(90deg, var(--jt-blue), var(--jt-saffron));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
}

.jt-subtitle {
  font-size: 1.05rem;
  color: #66738a;
  max-width: 720px;
}

.jt-head {
  text-align: center;
  margin-bottom: 50px;
}

.jt-head .jt-subtitle {
  margin: 0 auto;
}

.jt-head::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, var(--jt-blue), var(--jt-saffron));
}

/* buttons */
.jt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
}

.jt-btn:hover {
  transform: translateY(-3px);
}

.jt-btn-primary {
  background: linear-gradient(135deg, var(--jt-blue), #2e8bff);
  color: #fff;
  box-shadow: 0 10px 25px rgba(19, 106, 213, .35);
}

.jt-btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(19, 106, 213, .45);
}

.jt-btn-outline {
  background: #fff;
  color: var(--jt-blue);
  border-color: var(--jt-blue);
}

.jt-btn-outline:hover {
  background: var(--jt-blue);
  color: #fff;
}

.jt-btn-green {
  background: linear-gradient(135deg, #1a9d3e, #2ecc71);
  color: #fff;
  box-shadow: 0 10px 25px rgba(26, 157, 62, .3);
}

.jt-btn-green:hover {
  color: #fff;
}

/* ---------- hero ---------- */
.jt-hero {
  position: relative;
  padding: 90px 0 100px;
  background: linear-gradient(135deg, #f3f8ff 0%, #e2efff 55%, #fff4e6 100%);
  overflow: clip;
}

.jt-blob {
  position: absolute;
  border-radius: 50%;
  opacity: .55;
  z-index: 0;
  animation: jt-blob 14s ease-in-out infinite;
}

.jt-blob.b1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(125,183,255,.9), rgba(125,183,255,0) 70%);
  top: -120px;
  left: -100px;
}

.jt-blob.b2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,201,138,.9), rgba(255,201,138,0) 70%);
  bottom: -110px;
  right: -60px;
  animation-delay: -5s;
}

.jt-hero .container {
  position: relative;
  z-index: 1;
}

.jt-hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  font-weight: 800;
  margin: 0;
}

.jt-hero .jt-flag {
  width: 58px;
  height: auto;
  animation: jt-wave 3s ease-in-out infinite;
  transform-origin: left center;
}

.jt-hero p {
  font-size: 1.05rem;
}

.jt-hero-points {
  list-style: disc;
  padding-left: 1.3rem;
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.jt-hero-points li {
  margin-bottom: .7rem;
}

.jt-hero-points strong {
  color: var(--jt-navy);
}

.jt-hero-note {
  font-weight: 500;
}

.jt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.jt-hero-img {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.jt-hero-img::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 30px;
  border: 3px dashed rgba(19, 106, 213, .35);
  animation: jt-float 6s ease-in-out infinite reverse;
}

.jt-hero-img img {
  position: relative;
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--jt-shadow-lg);
  animation: jt-float 6s ease-in-out infinite;
}

.jt-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  color: var(--jt-navy);
  box-shadow: var(--jt-shadow-lg);
  animation: jt-float 5s ease-in-out infinite;
}

.jt-chip i {
  font-size: 22px;
  color: var(--jt-blue);
}

.jt-chip.c1 {
  top: 8%;
  left: -6%;
}

.jt-chip.c2 {
  bottom: 8%;
  right: -4%;
  animation-delay: -2.5s;
}

.jt-chip.c2 i {
  color: var(--jt-green);
}

/* ---------- ticker ---------- */
.jt-ticker {
  background: var(--jt-navy);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.jt-ticker-label {
  flex-shrink: 0;
  z-index: 2;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, var(--jt-saffron), #ffb35c);
  color: var(--jt-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.jt-ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.jt-ticker-text {
  display: inline-block;
  padding-left: 100%;
  font-size: 14px;
  animation: jt-marquee 60s linear infinite;
}

.jt-ticker:hover .jt-ticker-text {
  animation-play-state: paused;
}

/* ---------- vision ---------- */
.jt-vision {
  text-align: center;
}

.jt-quote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 46px;
  background: #fff;
  border-radius: var(--jt-radius);
  box-shadow: var(--jt-shadow);
  border-top: 5px solid var(--jt-saffron);
}

.jt-quote::before {
  content: "❝";
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  line-height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jt-blue), #2e8bff);
  color: #fff;
  font-size: 34px;
  box-shadow: 0 8px 20px rgba(19, 106, 213, .4);
}

.jt-quote p {
  font-size: 1.08rem;
}

.jt-quote p:last-child {
  margin-bottom: 0;
}

.jt-eagle {
  position: relative;
  padding: 40px 0 10px;
  text-align: center;
}

.jt-eagle-wrap {
  position: relative;
  display: inline-block;
  max-width: 760px;
  width: 100%;
}

.jt-eagle-wrap::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, .55), transparent 65%);
  animation: jt-pulse 4s ease-in-out infinite;
}

.jt-eagle-wrap img {
  position: relative;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--jt-shadow-lg);
  animation: jt-float 7s ease-in-out infinite;
}

/* ---------- what we do ---------- */
.jt-intro {
  max-width: 860px;
  margin: 0 auto 60px;
  text-align: center;
}

.jt-block {
  margin-bottom: 70px;
}

.jt-block:last-child {
  margin-bottom: 0;
}

.jt-block-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 26px;
}

.jt-block-title small {
  display: block;
  margin-top: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: #66738a;
}

.jt-photo {
  position: relative;
}

.jt-photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(19, 106, 213, .18), rgba(255, 153, 51, .22));
  transform: rotate(-3deg);
  transition: transform .5s;
}

.jt-photo.alt::before {
  transform: rotate(3deg);
}

.jt-photo:hover::before {
  transform: rotate(0);
}

.jt-photo img {
  position: relative;
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--jt-shadow-lg);
}

.jt-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.jt-card {
  position: relative;
  height: 100%;
  padding: 22px 22px 22px 22px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(19, 106, 213, .1);
  box-shadow: 0 6px 20px rgba(13, 36, 71, .06);
  transition: transform .35s, box-shadow .35s, border-color .35s;
  overflow: hidden;
}

.jt-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--jt-blue), var(--jt-saffron));
  transition: width .45s;
}

.jt-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--jt-shadow);
  border-color: rgba(19, 106, 213, .3);
}

.jt-card:hover::after {
  width: 100%;
}

.jt-card .ico {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--jt-blue), #2e8bff);
  transition: transform .4s;
}

.jt-card:hover .ico {
  transform: rotate(-8deg) scale(1.1);
}

.jt-card.tutor .ico {
  background: linear-gradient(135deg, var(--jt-saffron), #ffb35c);
}

.jt-card h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.jt-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.65;
  color: #56637a;
}

.jt-cards.three {
  grid-template-columns: repeat(2, 1fr);
}

/* ---------- pricing ---------- */
.jt-price {
  position: relative;
  height: 100%;
  padding: 44px 34px;
  text-align: center;
  background: #fff;
  border-radius: var(--jt-radius);
  box-shadow: var(--jt-shadow);
  border: 1px solid rgba(19, 106, 213, .1);
  transition: transform .4s, box-shadow .4s;
  overflow: hidden;
}

.jt-price:hover {
  transform: translateY(-10px);
  box-shadow: var(--jt-shadow-lg);
}

.jt-price::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(19, 106, 213, .08);
}

.jt-price.free::before {
  background: rgba(26, 157, 62, .1);
}

.jt-badge {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--jt-blue);
  margin-bottom: 18px;
}

.jt-price.free .jt-badge {
  background: var(--jt-green);
}

.jt-price h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.jt-price ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  text-align: left;
  display: inline-block;
}

.jt-price li {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.jt-price li i {
  color: var(--jt-green);
  margin-top: 4px;
}

/* ---------- testimonials ---------- */
.jt-testi .testimonials-swiper {
  padding: 10px 6px 50px;
}

.jt-testi .swiper-slide {
  height: auto;
}

.jt-testi .testimonial-card {
  position: relative;
  height: 100%;
  padding: 50px 28px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(13, 36, 71, .08);
  transition: transform .35s, box-shadow .35s;
}

.jt-testi .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jt-shadow);
}

.jt-testi .testimonial-type-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--jt-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
}

.jt-testi .testimonial-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
  border: 3px solid var(--jt-sky);
}

.jt-testi .testimonial-meta {
  min-width: 0;
}

.jt-testi .testimonial-meta h5 {
  margin: 0;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.jt-testi .testimonial-meta p {
  margin: 0;
  font-size: 13px;
  color: #6c7a90;
}

.jt-testi .testimonial-stars {
  color: #f5b301;
  margin-bottom: 12px;
}

.jt-testi .testimonial-comment p {
  margin: 0;
  font-size: 14.5px;
  color: #465267;
}

.jt-testi .swiper-pagination-bullet-active {
  background: var(--jt-blue);
}

@media (max-width: 575px) {
  .jt-testi .testimonial-card { padding: 46px 20px 22px; }
  .jt-testi .testimonial-type-badge { top: 14px; right: 14px; }
  .jt-testi .testimonial-avatar { width: 54px; height: 54px; margin-right: 12px; }
}

/* ---------- FAQ ---------- */
.jt-faq-img {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.jt-faq-img img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--jt-shadow-lg);
  animation: jt-float 7s ease-in-out infinite;
}

.jt-faq .accordion-item {
  border: 0;
  margin-bottom: 14px;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(13, 36, 71, .07);
  background: #fff;
}

.jt-faq .accordion-button {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--jt-navy);
  background: #fff;
  box-shadow: none;
}

.jt-faq .accordion-button:not(.collapsed) {
  color: var(--jt-blue);
  background: var(--jt-sky);
}

.jt-faq .accordion-button:focus {
  box-shadow: none;
}

.jt-faq .accordion-body {
  font-size: 15px;
  color: #4f5c72;
  background: #fff;
}

.jt-faq .accordion-body p:last-child {
  margin-bottom: 0;
}

/* ---------- safety strip ---------- */
.jt-safety {
  padding: 40px 0 70px;
}

.jt-safety-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 32px;
  border-radius: var(--jt-radius);
  background: linear-gradient(135deg, var(--jt-navy), var(--jt-blue-dark));
  color: #fff;
  box-shadow: var(--jt-shadow-lg);
}

.jt-safety-box h4 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.jt-safety-box p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
}

.jt-safety-box .jt-btn {
  background: var(--jt-saffron);
  color: var(--jt-navy);
}

/* ---------- animations ---------- */
@keyframes jt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes jt-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(.95); }
}

@keyframes jt-shine {
  to { background-position: 200% center; }
}

@keyframes jt-pulse {
  0%, 100% { transform: scale(.92); opacity: .7; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes jt-wave {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(-6deg) skewY(2deg); }
}

@keyframes jt-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .jt-home *,
  .jt-home *::before,
  .jt-home *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .jt-section { padding: 65px 0; }
  .jt-hero { padding: 60px 0 70px; text-align: center; }
  .jt-hero .d-flex { justify-content: center; }
  .jt-hero-actions { justify-content: center; }
  .jt-hero-img { margin-top: 40px; max-width: 420px; }
  .jt-chip.c1 { left: 0; }
  .jt-chip.c2 { right: 0; }
  .jt-photo { max-width: 460px; margin: 0 auto 30px; }
  .jt-block { margin-bottom: 55px; }
}

@media (max-width: 575px) {
  .jt-section { padding: 50px 0; }
  .jt-cards,
  .jt-cards.three { grid-template-columns: 1fr; }
  .jt-quote { padding: 44px 22px 30px; }
  .jt-price { padding: 34px 22px; }
  .jt-chip { font-size: 12px; padding: 8px 12px; }
  .jt-chip i { font-size: 18px; }
  .jt-hero .jt-flag { width: 42px; }
  .jt-btn { padding: 12px 22px; width: 100%; justify-content: center; }
  .jt-safety-box { padding: 22px; text-align: center; justify-content: center; }
  .jt-ticker-label { padding: 10px 12px; font-size: 12px; }
  .jt-ticker-label span { display: none; }
}

/* On tablets/phones horizontal AOS slides become gentle fade-ups (no sideways motion) */
@media (max-width: 991px) {
  .jt-home [data-aos="fade-right"]:not(.aos-animate),
  .jt-home [data-aos="fade-left"]:not(.aos-animate) {
    transform: translate3d(0, 40px, 0);
  }
}

.jt-home h1.jt-gradient-text {
  color: transparent;
}

@media (max-width: 991px) {
  .jt-hero p { text-align: left; }
}

/* Vision: image beside the quote card */
.jt-vision .jt-quote {
  max-width: none;
  text-align: left;
}

@media (max-width: 991px) {
  .jt-vision .jt-quote { margin-top: 20px; }
}
