@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap");

html {
  scroll-behavior: smooth;
}

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

/* Homepage-only premium theme (does not alter inner pages) */
body.page-home #services,
body.page-home #reviews,
body.page-home #pricing,
body.page-home #journal-showcase {
  scroll-margin-top: 5.5rem;
}

body.page-home {
  --ojp-navy: #0b1f3a;
  --ojp-royal: #123e63;
  --ojp-gold: #d4a017;
  --ojp-bg: #f5f7fa;
  --ojp-text: #1e293b;
  --ojp-muted: #64748b;
  --ojp-surface: #ffffff;
  --ojp-shadow: 0 10px 40px rgba(11, 31, 58, 0.08);
  --ojp-shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.12);
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ojp-text);
  background-color: var(--ojp-bg) !important;
  background-image: radial-gradient(
      ellipse 120% 80% at 0% 0%,
      rgba(18, 62, 99, 0.06),
      transparent 50%
    ),
    radial-gradient(
      ellipse 80% 60% at 100% 10%,
      rgba(212, 160, 23, 0.06),
      transparent 45%
    ),
    linear-gradient(180deg, #f8fafc 0%, var(--ojp-bg) 40%, #eef2f7 100%) !important;
}

body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-home .font-heading,
body.page-home .heroTitle,
body.page-home .Paytone {
  font-family: "Playfair Display", Georgia, serif !important;
  color: var(--ojp-navy) !important;
}

body.page-home .Topbar.blue {
  background: linear-gradient(
    90deg,
    var(--ojp-navy) 0%,
    var(--ojp-royal) 100%
  ) !important;
}

body.page-home .Navigations {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

body.page-home .Navigations .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

body.page-home .navbar-brand .brandLogoOjp {
  width: auto;
  height: 52px;
  max-width: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: 0 2px 12px rgba(11, 31, 58, 0.1);
}

body.page-home .navbar-brand .brandName {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ojp-navy) !important;
  letter-spacing: 0.02em;
}

body.page-home .Navigations .nav-link {
  color: var(--ojp-text) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.65rem !important;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

body.page-home .Navigations .nav-link:hover,
body.page-home .Navigations .nav-link.active {
  color: var(--ojp-royal) !important;
  background: rgba(18, 62, 99, 0.06);
}

body.page-home .Navigations .nav-link.whatsapp {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%) !important;
  box-shadow: 0 4px 14px rgba(7, 94, 84, 0.25);
}

body.page-home .btn-nav-cta {
  background: linear-gradient(135deg, var(--ojp-navy) 0%, var(--ojp-royal) 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(11, 31, 58, 0.2);
}

body.page-home .btn-nav-cta:hover {
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.28);
}

/* Hero */
.heroPremium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(245, 247, 250, 0.98) 45%,
    rgba(237, 242, 248, 1) 100%
  );
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

.heroPremium::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(212, 160, 23, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.heroEyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ojp-royal);
}

.heroTitle {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.heroLead {
  color: var(--ojp-muted);
  max-width: 34rem;
  line-height: 1.65;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--ojp-navy) 0%, var(--ojp-royal) 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.22);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 14px 36px rgba(11, 31, 58, 0.28);
}

.btn-hero-secondary {
  background: #fff;
  color: var(--ojp-navy) !important;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 2px solid rgba(11, 31, 58, 0.12);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, border-color 0.2s ease, box-shadow 0.22s ease;
}

.btn-hero-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--ojp-gold);
  color: var(--ojp-navy) !important;
  box-shadow: var(--ojp-shadow);
}

.heroTrustList li {
  color: var(--ojp-muted);
  font-weight: 500;
}

.heroTrustList i {
  color: var(--ojp-gold);
  margin-right: 0.35rem;
}

.heroJournalStack {
  position: relative;
  min-height: 320px;
  perspective: 900px;
}

.heroJournalSwiper {
  width: 100%;
  padding: 1rem 0 2.5rem;
}

.heroJournalSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

.journalMockCard {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ojp-surface);
  box-shadow: var(--ojp-shadow-lg);
  transform: rotateY(-6deg) rotateZ(-2deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.journalMockCard img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.heroJournalSwiper .swiper-slide-active .journalMockCard {
  transform: rotateY(0) rotateZ(0) scale(1.02);
  box-shadow: 0 28px 50px rgba(11, 31, 58, 0.18);
}

.heroJournalSwiper .swiper-pagination-bullet-active {
  background: var(--ojp-gold) !important;
}

/* Stats */
.statsPremium {
  background: var(--ojp-surface);
  border-block: 1px solid rgba(11, 31, 58, 0.06);
}

.statItem {
  text-align: center;
  padding: 1.5rem 0.75rem;
}

.statNum {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--ojp-navy);
  line-height: 1.1;
}

.statLabel {
  font-size: 0.9rem;
  color: var(--ojp-muted);
  font-weight: 500;
  margin-top: 0.35rem;
}

/* Service home cards */
.servicesHomeGrid .svcCard {
  background: var(--ojp-surface);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  height: 100%;
  border: 1px solid rgba(11, 31, 58, 0.06);
  box-shadow: var(--ojp-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.servicesHomeGrid .svcCard:hover {
  transform: translateY(-6px);
  box-shadow: var(--ojp-shadow-lg);
  border-color: rgba(212, 160, 23, 0.35);
  color: inherit;
}

.servicesHomeGrid .svcIcon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(18, 62, 99, 0.1) 0%,
    rgba(212, 160, 23, 0.12) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--ojp-royal);
  margin-bottom: 1rem;
}

.servicesHomeGrid h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.servicesHomeGrid p {
  font-size: 0.88rem;
  color: var(--ojp-muted);
  margin: 0;
  line-height: 1.5;
}

/* Why choose */
.whyPremium .whyCard {
  background: var(--ojp-surface);
  border-radius: 16px;
  padding: 1.35rem 1.2rem;
  height: 100%;
  border: 1px solid rgba(11, 31, 58, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whyPremium .whyCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--ojp-shadow);
}

.whyPremium .whyIcon {
  color: var(--ojp-gold);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Testimonials */
.testimonialsHome {
  background: linear-gradient(180deg, #f1f5f9 0%, var(--ojp-bg) 100%);
}

.testimonialCard {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: var(--ojp-shadow);
  border: 1px solid rgba(11, 31, 58, 0.05);
  height: 100%;
}

.testimonialCard .stars {
  color: var(--ojp-gold);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonialsHomeSwiper .swiper-pagination-bullet-active {
  background: var(--ojp-navy) !important;
}

/* Journal partners */
.journalPartners {
  background: var(--ojp-navy);
  color: #e2e8f0;
}

.journalPartners h2 {
  color: #fff !important;
}

.journalTabBtn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #cbd5e1;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.journalTabBtn.active,
.journalTabBtn:hover {
  background: var(--ojp-gold);
  color: var(--ojp-navy);
  border-color: var(--ojp-gold);
}

.journalMarquees {
  min-height: 4.5rem;
}

.journalMarquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.journalMarqueeTrack {
  display: flex;
  gap: 2.5rem;
  animation: journalScroll 32s linear infinite;
  width: max-content;
  padding: 1rem 0;
}

.journalMarqueeTrack:hover {
  animation-play-state: paused;
}

@keyframes journalScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.journalLogoPill {
  flex-shrink: 0;
  padding: 0.65rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Pricing teaser */
.pricingHome .priceCard {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(11, 31, 58, 0.08);
  height: 100%;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricingHome .priceCard.featured {
  border: 2px solid var(--ojp-gold);
  box-shadow: var(--ojp-shadow-lg);
}

.pricingHome .priceCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--ojp-shadow);
}

.pricingHome .priceAmt {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ojp-navy);
}

/* Footer premium homepage */
body.page-home .footerPremium {
  background: linear-gradient(180deg, var(--ojp-navy) 0%, #060d18 100%);
  color: #cbd5e1;
  border-top: 3px solid var(--ojp-gold);
}

body.page-home .footerPremium h4,
body.page-home .footerPremium .footerBrandTitle {
  color: #fff !important;
  font-family: "Playfair Display", Georgia, serif !important;
}

body.page-home .footerPremium a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

body.page-home .footerPremium a:hover {
  color: var(--ojp-gold);
}

body.page-home .footerPremium .footerLogo {
  max-height: 64px;
  width: auto;
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
}

body.page-home .footerPremium .border-subtle {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

@media (prefers-reduced-motion: reduce) {
  .journalMarqueeTrack {
    animation: none;
  }
}
