/* ============================================
   Shubham Goyal · Logic Trade
   Blue & White theme + Custom Cursor + Hover
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #0b1b3d;
  --ink-soft: #334770;
  --muted: #6c7a99;
  --blue: #1e40af;
  --blue-mid: #2563eb;
  --blue-light: #dbeafe;
  --blue-soft: #eff6ff;
  --bg-soft: #f7f9fe;
  --line: #e5eaf5;
  --white: #ffffff;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (max-width: 992px) {
  body { cursor: auto; }
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; color: var(--ink); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============ CUSTOM CURSOR ============ */

.cursor-dot,
.cursor-ring {
    position: fixed !important;
    top: 0;
    left: 0;
    pointer-events: none !important;
    border-radius: 50%;
    z-index: 999999 !important;
    will-change: transform;
    visibility: visible;
}

.cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--blue-mid);
    transition:
        width 0.2s var(--ease-bounce),
        height 0.2s var(--ease-bounce),
        background 0.2s;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--blue-mid);
    opacity: 0.7;
    transition:
        width 0.35s var(--ease-bounce),
        height 0.35s var(--ease-bounce),
        opacity 0.3s,
        background 0.3s,
        border-color 0.3s;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.08);
    opacity: 1;
}

.cursor-ring.click {
    width: 24px;
    height: 24px;
}

.cursor-dot.hover {
    width: 10px;
    height: 10px;
    background: var(--blue);
}

@media (max-width: 992px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}


/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: padding 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  padding: 11px 40px;
  border-color: var(--line);
  box-shadow: 0 4px 20px rgba(11, 27, 61, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.logo img {
  width: 34px; height: 34px;
  border-radius: 8px;
  transition: transform 0.4s var(--ease-bounce);
}
.logo:hover img { transform: rotate(-10deg) scale(1.1); }
.logo strong { color: var(--blue); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; bottom: 5px;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: calc(100% - 28px); }

.nav-btn {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.nav-btn::after { display: none; }
.nav-btn:hover { background: var(--ink) !important; color: #fff !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 150px 0 90px;
  background: linear-gradient(180deg, var(--blue-soft) 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  margin-bottom: 22px;
  animation: slideUp 0.7s var(--ease) both;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.eyebrow:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.12);
  transform: translateY(-2px);
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
  animation: slideUp 0.7s var(--ease) 0.1s both;
}
.hero-text h1 .accent {
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.hero-text h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 10px;
  background: var(--blue-light);
  z-index: -1;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease) 0.6s;
  animation: underlineGrow 0.8s var(--ease) 0.7s forwards;
}
@keyframes underlineGrow {
  to { transform: scaleX(1); }
}

.hero-text > p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 520px;
  animation: slideUp 0.7s var(--ease) 0.2s both;
}
.hero-text > p strong { color: var(--ink); }

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  animation: slideUp 0.7s var(--ease) 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.93rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn i { transition: transform 0.3s var(--ease); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.28);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.35);
}
.btn-primary:hover i { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
  transform: translateY(-3px);
}

/* Magnetic button (JS-driven) */
.magnetic {
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: slideUp 0.7s var(--ease) 0.4s both;
}
.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: border-color 0.25s, transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}
.hero-tags span i {
  color: var(--blue);
  transition: transform 0.3s var(--ease-bounce);
}
.hero-tags span:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.1);
}
.hero-tags span:hover i {
  transform: scale(1.2) rotate(-8deg);
}

/* Hero image */
.hero-image {
  display: flex;
  justify-content: center;
  animation: slideUp 0.9s var(--ease) 0.3s both;
}
.image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(11, 27, 61, 0.18);
  max-width: 380px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 27, 61, 0.75));
  z-index: 1;
  pointer-events: none;
}
.image-frame img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.image-frame:hover img { transform: scale(1.06); }
.image-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 75px rgba(11, 27, 61, 0.28);
}

.image-badge {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: transform 0.4s var(--ease-bounce);
}
.image-frame:hover .image-badge {
  transform: translateY(-4px);
}
.image-badge i {
  color: var(--blue);
  font-size: 1.2rem;
  transition: transform 0.4s var(--ease-bounce);
}
.image-badge:hover i { transform: scale(1.2) rotate(-10deg); }
.image-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
}
.image-badge small {
  font-size: 0.72rem;
  color: var(--muted);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-soft); }

.section-head {
  margin-bottom: 48px;
  display: flex;
  align-items: baseline;
  gap: 20px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.section-head .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  padding: 4px 10px;
  background: var(--blue-soft);
  border-radius: 6px;
  transition: transform 0.3s var(--ease-bounce), background 0.3s, color 0.3s;
}
.section-head:hover .num {
  transform: scale(1.1) rotate(-5deg);
  background: var(--blue);
  color: #fff;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.section-head h2 span { color: var(--blue); }

.sub {
  width: 100%;
  font-size: 0.98rem;
  color: var(--muted);
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
.about-copy p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 16px;
  transition: color 0.3s;
}
.about-copy p:hover { color: var(--ink-soft); }
.about-copy strong { color: var(--blue); font-weight: 700; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s, background 0.3s;
}
.pillar i {
  grid-row: span 2;
  font-size: 1.3rem;
  color: var(--blue);
  transition: transform 0.4s var(--ease-bounce);
}
.pillar h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.pillar p {
  font-size: 0.85rem;
  color: var(--muted);
  grid-column: 2;
}
.pillar:hover {
  transform: translateX(8px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(30, 64, 175, 0.12);
  background: var(--white);
}
.pillar:hover i { transform: rotate(-12deg) scale(1.2); }

/* ============ JOURNEY CARDS ============ */
.journey-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.j-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
  overflow: hidden;
}
.j-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--blue);
  transition: width 0.4s var(--ease);
}
.j-card:hover::before { width: 100%; }
.j-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(30, 64, 175, 0.14);
}
.j-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease-bounce), background 0.3s, color 0.3s;
}
.j-card:hover .j-num {
  transform: scale(1.08);
  background: var(--blue);
  color: #fff;
}
.j-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.j-card p {
  font-size: 0.87rem;
  color: var(--muted);
}

/* ============ FLIP CARDS ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.flip-card {
  height: 200px;
  perspective: 1000px;
}
.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease);
}
.flip-card:hover .flip-inner { transform: rotateY(180deg); }

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
}
.flip-front {
  background: var(--white);
  border: 1px solid var(--line);
}
.flip-front i {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 12px;
  transition: transform 0.4s var(--ease-bounce);
}
.flip-card:hover .flip-front i { transform: scale(1.2) rotate(-10deg); }
.flip-front h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
.flip-back {
  background: var(--blue);
  color: #fff;
  transform: rotateY(180deg);
  font-size: 0.87rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

/* ============ LESSONS LIST ============ */
.lessons-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lesson-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.lesson-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}
.lesson-row:hover::before { transform: scaleY(1); }
.lesson-row:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.1);
  transform: translateX(4px);
}
.l-idx {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
  min-width: 28px;
  transition: transform 0.3s var(--ease-bounce);
}
.lesson-row:hover .l-idx { transform: scale(1.2); }
.l-body h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.l-body p {
  font-size: 0.87rem;
  color: var(--muted);
}

/* ============ RESEARCH ============ */
.research-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}
.research-copy > p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.87rem;
  color: var(--ink-soft);
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s, box-shadow 0.3s;
}
.check-list li i {
  color: var(--blue);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce);
}
.check-list li:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateX(6px);
  box-shadow: 0 6px 16px rgba(30, 64, 175, 0.08);
}
.check-list li:hover i { transform: scale(1.3); }

.research-box {
  background: linear-gradient(160deg, var(--blue) 0%, #0f256e 100%);
  color: #fff;
  border-radius: 20px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.3);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.research-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: rotate(0deg);
}
.research-box:hover::before {
  opacity: 1;
  transform: rotate(20deg);
}
.research-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 65px rgba(30, 64, 175, 0.4);
}
.research-box i {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: inline-block;
  position: relative;
  transition: transform 0.4s var(--ease-bounce);
}
.research-box:hover i { transform: scale(1.15) rotate(-8deg); }
.research-box h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}
.research-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

/* ============ TIPS ============ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tip {
  padding: 26px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
  overflow: hidden;
}
.tip i {
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.4s var(--ease-bounce), color 0.3s;
}
.tip h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.tip p {
  font-size: 0.87rem;
  color: var(--muted);
}
.tip::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at bottom right, var(--blue-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  transform: scale(0.6);
}
.tip:hover::after {
  opacity: 1;
  transform: scale(1);
}
.tip:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 18px 38px rgba(30, 64, 175, 0.14);
}
.tip:hover i {
  transform: rotate(-10deg) scale(1.2);
  color: var(--blue-mid);
}

.disclaimer {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 820px;
  margin: 34px auto 0;
  padding: 16px 22px;
  background: var(--white);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  font-size: 0.86rem;
  color: var(--muted);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.disclaimer:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.1);
}
.disclaimer i { color: var(--blue); font-size: 1.05rem; flex-shrink: 0; }

/* ============ CTA ============ */
.cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #0a1a3a 0%, var(--blue) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
  border-radius: 50%;
  animation: floatGlow 6s ease-in-out infinite;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-20px, 20px) scale(1.1); }
}
.cta-inner {
  text-align: center;
  max-width: 720px;
  position: relative;
  z-index: 2;
}
.cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}
.cta h2 span { color: #93c5fd; }
.cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  margin-bottom: 28px;
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.btn-white::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.15), transparent);
  transition: left 0.6s var(--ease);
}
.btn-white:hover::before { left: 100%; }
.btn-white:hover {
  background: var(--blue-soft);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

/* ============ FOOTER ============ */
.footer {
  background: #0a1428;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 40px 0 32px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  transition: transform 0.3s var(--ease-bounce);
}
.footer-logo:hover { transform: translateY(-3px); }
.footer-logo img {
  width: 30px; height: 30px;
  border-radius: 7px;
  transition: transform 0.4s var(--ease-bounce);
}
.footer-logo:hover img { transform: rotate(-10deg) scale(1.1); }
.footer-logo strong { color: #93c5fd; }
.footer p {
  font-size: 0.86rem;
  margin-bottom: 8px;
}
.footer-disc {
  font-size: 0.76rem !important;
  color: rgba(255, 255, 255, 0.45) !important;
  max-width: 700px;
  margin: 0 auto !important;
  line-height: 1.6;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .navbar { padding: 14px 24px; }
  .navbar.scrolled { padding: 10px 24px; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 16px; right: 16px;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s var(--ease);
    z-index: 999;
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a { display: block; padding: 12px 14px; }
  .hamburger { display: flex; }

  .hero { padding: 120px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .image-frame img { height: 340px; }

  .section { padding: 70px 0; }
  .about-grid, .research-grid { grid-template-columns: 1fr; gap: 30px; }
  .journey-track { grid-template-columns: 1fr 1fr; }
  .grid-3, .tips-grid { grid-template-columns: 1fr 1fr; }
  .lessons-list { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .section-head { gap: 12px; }
}

@media (max-width: 600px) {
  .journey-track, .grid-3, .tips-grid { grid-template-columns: 1fr; }
  .hero-text h1 { letter-spacing: -1px; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   LOGIC TRADE - NEW SERVICES PAGE DESIGN
========================================== */

/* HERO SECTION */

.services-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 130px 24px 100px;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.12), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.12), transparent 30%),
        linear-gradient(135deg, #f8fbff 0%, #edf4ff 50%, #ffffff 100%);
}

.services-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.services-hero h1 {
    max-width: 900px;
    margin: 28px auto 22px;
    color: #10213f;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -2.5px;
}

.services-hero h1 span {
    display: block;
    color: #2563eb;
}

.services-hero-content > p {
    max-width: 780px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}

.services-hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.services-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-btn-primary {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.services-btn-primary:hover {
    background: #1748bd;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.services-btn-outline {
    color: #16325c;
    border: 1px solid #cbd8eb;
    background: #fff;
}

.services-btn-outline:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-4px);
}

.services-hero-note {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 40px;
}

.services-hero-note span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #52647f;
    font-size: 13px;
    font-weight: 600;
}

.services-hero-note i {
    color: #2563eb;
}

.services-hero-decoration {
    position: absolute;
    border: 1px solid rgba(37, 99, 235, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.decoration-one {
    width: 400px;
    height: 400px;
    top: -180px;
    left: -150px;
}

.decoration-two {
    width: 500px;
    height: 500px;
    right: -200px;
    bottom: -270px;
}


/* SERVICES INTRO */

.services-intro {
    padding: 100px 0;
    background: #fff;
}

.services-section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.services-section-heading > span {
    display: inline-block;
    margin-bottom: 15px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.services-section-heading h2 {
    color: #10213f;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
}

.services-section-heading h2 span {
    color: #2563eb;
}

.services-section-heading p {
    margin-top: 18px;
    color: #6b7890;
    font-size: 15px;
    line-height: 1.8;
}


/* SERVICES GRID */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #e4eaf3;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(15, 35, 70, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-9px);
    border-color: #b9d0ff;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.service-number {
    color: #9aa9bf;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 13px;
    background: #edf4ff;
    color: #2563eb;
    font-size: 23px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #2563eb;
    color: #fff;
    transform: rotate(-5deg);
}

.service-category {
    display: block;
    margin-bottom: 11px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.service-card h3 {
    margin-bottom: 13px;
    color: #14294b;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 23px;
    font-weight: 700;
}

.service-card p {
    margin: 0 0 25px;
    color: #718096;
    font-size: 14px;
    line-height: 1.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #edf0f5;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 16px;
}

.service-card-featured {
    border-color: #2563eb;
    background: linear-gradient(145deg, #f5f8ff, #fff);
}

.service-card-featured::before {
    transform: scaleX(1);
}


/* APPROACH BANNER */

.services-approach {
    padding: 75px 0;
    background: #0d1e3c;
}

.services-approach-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.services-approach-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    font-size: 35px;
}

.services-approach-text {
    flex: 1;
}

.services-approach-text > span {
    color: #60a5fa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.services-approach-text h2 {
    margin: 12px 0;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(25px, 3vw, 38px);
}

.services-approach-text h2 span {
    color: #60a5fa;
}

.services-approach-text p {
    max-width: 700px;
    color: #b8c7e3;
    font-size: 14px;
    line-height: 1.8;
}

.services-approach-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-approach-link:hover {
    background: #2563eb;
    border-color: #2563eb;
}


/* CONTACT CTA */

.services-contact {
    padding: 100px 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.09), transparent 45%),
        #f4f7fc;
}

.services-contact-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-contact h2 {
    margin: 22px 0 18px;
    color: #10213f;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(35px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -1.5px;
}

.services-contact h2 span {
    color: #2563eb;
}

.services-contact p {
    max-width: 650px;
    margin: 0 auto;
    color: #718096;
    font-size: 15px;
    line-height: 1.8;
}


/* RESPONSIVE DESIGN */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-approach-inner {
        flex-wrap: wrap;
    }

    .services-approach-link {
        margin-left: 120px;
    }

}


@media (max-width: 650px) {

    .services-hero {
        min-height: auto;
        padding: 115px 20px 75px;
    }

    .services-hero h1 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .services-hero-content > p {
        font-size: 14px;
    }

    .services-hero-note {
        gap: 15px;
    }

    .services-hero-note span {
        font-size: 11px;
    }

    .services-hero-buttons {
        flex-direction: column;
    }

    .services-btn {
        width: 100%;
        max-width: 300px;
    }

    .services-intro {
        padding: 70px 0;
    }

    .services-section-heading {
        margin-bottom: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: 350px;
        padding: 25px;
    }

    .services-approach {
        padding: 55px 20px;
    }

    .services-approach-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .services-approach-link {
        margin-left: 0;
    }

    .services-contact {
        padding: 75px 20px;
    }

    .services-contact h2 {
        font-size: 36px;
    }
 }

/* =========================================
   COMPLIANCE PAGE FLIP CARDS
========================================= */

.compliance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.compliance-card {
    height: 255px;
    cursor: pointer;
}

.compliance-card .flip-front,
.compliance-card .flip-back {
    border-radius: 14px;
    padding: 26px;
}

.compliance-card .flip-front {
    background: linear-gradient(145deg, #ffffff, #f0f5ff);
    border: 1px solid var(--line);
    box-shadow: 0 8px 25px rgba(11, 27, 61, .05);
}

.compliance-number {
    position: absolute;
    top: 15px;
    left: 17px;
    color: var(--blue);
    background: var(--blue-soft);
    border-radius: 6px;
    padding: 3px 9px;
    font-size: .75rem;
    font-weight: 700;
}

.compliance-card .flip-front > i {
    font-size: 2.1rem;
    color: var(--blue);
    margin-bottom: 17px;
}

.compliance-card .flip-front h3 {
    font-size: 1.12rem;
    line-height: 1.35;
}

.flip-hint {
    margin-top: 13px;
    color: var(--muted);
    font-size: .75rem;
}

.flip-hint i {
    margin-left: 5px;
    color: var(--blue);
}

.compliance-card .flip-back {
    background: linear-gradient(145deg, var(--blue), #10276d);
    box-shadow: 0 12px 30px rgba(30, 64, 175, .2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.compliance-card .flip-back h3 {
    color: #fff;
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.compliance-card .flip-back p {
    color: rgba(255,255,255,.88);
    font-size: .84rem;
    line-height: 1.5;
    margin-bottom: 17px;
}

.compliance-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    background: #fff;
    color: var(--blue);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    transition: .3s;
}

.compliance-btn:hover {
    background: #dbeafe;
    transform: translateY(-3px);
}

.compliance-card.is-flipped .flip-inner,
.compliance-card:focus-within .flip-inner {
    transform: rotateY(180deg);
}

@media (max-width: 960px) {
    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .compliance-card {
        height: 245px;
    }
}

@media (hover: none) {
    .compliance-card:hover .flip-inner {
        transform: none;
    }
}
/* Homepage service icons */
.service-icon {
    font-size: 30px;
    color: var(--blue-mid);
    margin: 8px 0 18px;
}

.j-card .check-list {
    grid-template-columns: 1fr;
    margin-top: 18px;
    margin-bottom: 22px;
}

.j-card .btn {
    margin-top: 10px;
}