:root {
  --ink: #12213C;
  --ink-soft: #2A3B5C;
  --paper: #F8FAFC;
  --paper-dim: #F2EDE1;
  --marigold: #F2A20C;
  --marigold-deep: #C9800A;
  --emerald: #1E7A5F;
  --emerald-deep: #155B46;
  --line: rgba(18, 33, 60, 0.12);
  --white: #FFFFFF;
  --shadow: 0 20px 50px -20px rgba(18, 33, 60, 0.35);
  --radius: 18px;
  --display: 'Exo', sans-serif;
  --body: 'Roboto', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

section {
  position: relative;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection {
  background: var(--marigold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--marigold);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, background .3s ease;
  font-family: var(--body);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 14px 30px -12px rgba(18, 33, 60, 0.55);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(18, 33, 60, 0.6);
}

.btn-primary .arrow {
  transition: transform .3s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--white);
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo-slot {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--emerald), var(--emerald-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  /* Replace this block with an <img src="your-logo.png" alt="Growthify Digital Academy logo"> tag when ready */
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.logo-text span {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-family: var(--mono);
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--marigold);
  transition: width .3s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 20px 24px 60px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  margin-bottom: 22px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--emerald-deep);
  background: linear-gradient(transparent 62%, rgba(242, 162, 12, 0.4) 62%);
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
}

.hero-trust strong {
  font-family: var(--display);
  font-size: 26px;
  color: var(--ink);
}

.hero-trust span {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* Signature visual: growth path */
.hero-visual {
  position: relative;
}

.path-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  border: 1px solid var(--line);
}

.path-card h4 {
  font-size: 14px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-weight: 600;
}

.path-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 26px;
}

.path-item:last-child {
  padding-bottom: 0;
}

.path-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px);
}

.path-item:last-child::before {
  display: none;
}

.path-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--paper-dim);
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-deep);
  z-index: 1;
}

.path-item.done .path-dot {
  background: var(--emerald);
  color: var(--white);
}

.path-item strong {
  display: block;
  font-size: 15.5px;
  margin-bottom: 3px;
}

.path-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.strip-track {
  display: inline-flex;
  animation: scroll-left 28s linear infinite;
}

.strip-track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(251, 248, 242, 0.85);
}

.strip-track span::before {
  content: '●';
  color: var(--marigold);
  font-size: 8px;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section heading pattern ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 42px);
}

.section-head p {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

section.pad {
  padding: 30px 0;
}

/* ---------- Courses ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, border-color .3s ease;
}

.course-card.in-view {
  opacity: 1;
  transform: none;
}

.course-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.course-tag {
  width: fit-content;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}

.tag-marketing {
  background: #FDECC8;
  color: #8A5A05;
}

.tag-analytics {
  background: #DCEEE8;
  color: var(--emerald-deep);
}

.tag-python {
  background: #E4E9FB;
  color: #3B4EA0;
}

.tag-sql {
  background: #F5E1E8;
  color: #96345F;
}

.tag-web {
  background: #DEEAF6;
  color: #255C8A;
}

.tag-more {
  background: var(--paper-dim);
  color: var(--ink-soft);
}

.course-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.course-card>p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}

.course-meta .fee {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.course-meta .fee small {
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  display: block;
}

.course-meta .duration {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
}

.course-card.expand-card {
  background: var(--ink);
  color: var(--paper);
  align-items: flex-start;
  justify-content: center;
}

.course-card.expand-card h3 {
  color: var(--paper);
}

.course-card.expand-card p {
  color: rgba(251, 248, 242, 0.75);
}

.expand-card .course-tag.tag-more {
  background: rgba(251, 248, 242, 0.12);
  color: var(--marigold);
}


/* --------------LEARNNING PROCESS--------------- */


.section-alt {
  background: #F8FAFC;
  padding-bottom: 120px;
  padding-top: 30px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 18px 0 16px;
  line-height: 1.15;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.section-head p {
  font-size: 18px;
  color: #64748B;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #2563EB;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  border: 1px solid #DBEAFE;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* dotted connector line behind the steps */
.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  z-index: 0;
}

.tl-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.tl-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #2563EB;
  margin: 0 auto 20px;
  transition: all .3s;
}

.tl-step:hover .tl-num {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  color: #fff;
  transform: scale(1.1);
}

.tl-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.tl-step p {
  font-size: 13px;
  color: #64748B;
}

/* fade-up reveal animation on scroll */
.reveal {
  opacity: 1;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* mobile: stack vertically, hide connector line */
@media(max-width:900px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline::before {
    display: none;
  }
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.why-item {
  padding: 34px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 1;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.why-item.in-view {
  opacity: 1;
  transform: none;
}

.why-item .num {
  font-family: var(--mono);
  color: var(--marigold-deep);
  font-size: 13px;
  margin-bottom: 14px;
  display: block;
}

.why-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.why-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Ajmer local strip ---------- */
.local-band {
  background: var(--emerald-deep);
  color: var(--paper);
  padding: 60px 0;
}

.local-band .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.local-band h2 {
  color: var(--paper);
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}

.local-band p {
  color: rgba(251, 248, 242, 0.82);
  line-height: 1.65;
  font-size: 15.5px;
}

.local-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.local-stat {
  background: rgba(251, 248, 242, 0.08);
  border: 1px solid rgba(251, 248, 242, 0.18);
  border-radius: 14px;
  padding: 22px;
}

.local-stat strong {
  font-family: var(--display);
  font-size: 30px;
  display: block;
  margin-bottom: 4px;
}

.local-stat span {
  font-size: 12.5px;
  color: rgba(251, 248, 242, 0.75);
}

/* ---------- Testimonials ---------- */
.testi-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.testi-track::-webkit-scrollbar {
  height: 6px;
}

.testi-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 10px;
}

.testi-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.testi-stars {
  color: var(--marigold);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 20px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  color: var(--emerald-deep);
}

.testi-person strong {
  font-size: 13.5px;
  display: block;
}

.testi-person span {
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 15.5px;
  margin-bottom: 28px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--emerald-deep);
}

.contact-list strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-list span {
  color: var(--ink-soft);
  font-size: 13.5px;
}

form#enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .25s ease, background .25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--emerald);
  background: var(--white);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.5;
}

#form-status {
  font-size: 13.5px;
  margin-top: 14px;
  font-weight: 600;
  min-height: 18px;
}

#form-status.ok {
  color: var(--emerald-deep);
}

#form-status.err {
  color: #B23A3A;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.75);
  padding: 56px 0 26px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.foot-logo strong {
  font-family: var(--display);
  color: var(--paper);
  font-size: 18px;
}

footer p.desc {
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 260px;
}

footer h5 {
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-bottom: 16px;
}

footer ul li {
  margin-bottom: 10px;
  font-size: 13.5px;
}

footer ul li a:hover {
  color: var(--marigold);
}

.foot-bottom {
  border-top: 1px solid rgba(251, 248, 242, 0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- back to top ---------- */
#top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
  box-shadow: var(--shadow);
}

#top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

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

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

  .local-band .wrap {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .35s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .burger {
    display: block;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-trust {
    gap: 20px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q span {
  font-size: 20px;
  color: var(--emerald-deep);
  transition: transform .3s ease;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}