/* DigiCampus+ — Exact layout match for education ecosystem landing page */

:root {
  --navy: #0b2c5f;
  --navy-deep: #071f45;
  --blue: #1a56db;
  --blue-bright: #2563eb;
  --orange: #f28c28;
  --orange-dark: #e07a12;
  --green: #16a34a;
  --green-dark: #15803d;
  --purple: #7c3aed;
  --pink: #db2777;
  --teal: #0d9488;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Poppins", "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1200px, 94%);
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--navy-deep);
  color: #cbd5e1;
  font-size: 0.82rem;
}

.top-bar-inner {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.top-badge {
  font-weight: 700;
  color: #fff;
}

.top-center {
  text-align: center;
  white-space: nowrap;
}

.top-right {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-right a:hover {
  color: #fff;
}

.wa-link {
  color: #4ade80;
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--navy);
  border-radius: 8px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: #eff6ff;
}

.chev {
  font-size: 0.7rem;
  opacity: 0.7;
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s ease;
  z-index: 20;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.dropdown a:hover {
  background: #eff6ff;
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.2rem;
  border-radius: 10px;
  font-weight: 750;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

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

.btn-lg {
  padding: 0.9rem 1.45rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: #1d4ed8;
}

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

.btn-outline-blue:hover {
  background: #eff6ff;
}

.btn-outline-orange {
  background: #fff;
  color: var(--orange-dark);
  border-color: var(--orange);
  padding: 0.58rem 0.95rem;
  font-size: 0.84rem;
}

.btn-outline-orange:hover {
  background: #fff7ed;
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.28);
}

.btn-green:hover {
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0;
  font-weight: 650;
  border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
  margin-top: 0.75rem;
  border-bottom: none;
}

/* Hero */
.hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(242, 140, 40, 0.1), transparent 40%),
    radial-gradient(ellipse at 20% 0%, rgba(37, 99, 235, 0.1), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--navy-deep);
}

.hero-copy h1 span {
  color: var(--blue-bright);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.usp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.35), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(242, 140, 40, 0.35), transparent 50%);
  z-index: 0;
}

.hero-student {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  border: 5px solid #fff;
  box-shadow: 0 24px 50px rgba(11, 44, 95, 0.18);
}

.hero-stack {
  display: grid;
  gap: 0.7rem;
}

.stack-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.stack-card:hover {
  transform: translateX(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.stack-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.stack-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.stack-card small {
  color: var(--muted);
  font-size: 0.75rem;
}

.stack-blue .stack-icon {
  background: #dbeafe;
}
.stack-green .stack-icon {
  background: #dcfce7;
}
.stack-orange .stack-icon {
  background: #ffedd5;
}
.stack-purple .stack-icon {
  background: #ede9fe;
}
.stack-pink .stack-icon {
  background: #fce7f3;
}

/* Lead bar */
.lead-wrap {
  margin-top: -0.5rem;
  padding-bottom: 1rem;
}

.lead-bar {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: 20px;
  padding: 1.35rem 1.5rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(7, 31, 69, 0.28);
}

.lead-text {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.lead-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0.75rem;
  align-items: stretch;
}

.field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border-radius: 10px;
  padding: 0 0.75rem;
  min-height: 48px;
}

.field-icon {
  font-size: 0.95rem;
}

.field input,
.field select {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
}

.lead-fields .btn {
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin: 0 0 0.5rem;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.section-head h2 span {
  color: var(--blue);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
  color: var(--navy);
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  min-height: 3.6rem;
}

.service-card a {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
}

.theme-blue .service-icon {
  background: #dbeafe;
}
.theme-green .service-icon {
  background: #dcfce7;
}
.theme-orange .service-icon {
  background: #ffedd5;
}
.theme-purple .service-icon {
  background: #ede9fe;
}
.theme-pink .service-icon {
  background: #fce7f3;
}
.theme-teal .service-icon {
  background: #ccfbf1;
}

.theme-green a {
  color: var(--green-dark);
}
.theme-orange a {
  color: var(--orange-dark);
}
.theme-purple a {
  color: var(--purple);
}
.theme-pink a {
  color: var(--pink);
}
.theme-teal a {
  color: var(--teal);
}

/* Journey + Why */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.5rem;
  align-items: stretch;
}

.journey-panel,
.why-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.journey-panel h2,
.why-content h2 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 1.15rem;
  color: var(--navy-deep);
}

.journey-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.journey-card {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  transition: 0.2s ease;
  color: var(--navy);
  font-size: 1.2rem;
}

.journey-card strong {
  font-size: 0.82rem;
}

.journey-card:hover,
.journey-card.active {
  border-color: var(--blue);
  background: #eff6ff;
}

.journey-note {
  color: var(--muted);
  margin: 0 0 0.9rem;
  font-weight: 600;
}

.why-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: #fff;
  border: none;
  overflow: hidden;
}

.why-content h2 {
  color: #fff;
}

.why-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.why-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #dbeafe;
}

.why-list li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.why-stats div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.85rem;
}

.why-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: #fbbf24;
}

.why-stats span {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 650;
}

.why-photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 16px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.step {
  text-align: center;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 0.7rem;
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.45rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.step-blue {
  background: #dbeafe;
}
.step-green {
  background: #dcfce7;
}
.step-orange {
  background: #ffedd5;
}
.step-purple {
  background: #ede9fe;
}
.step-pink {
  background: #fce7f3;
}
.step-teal {
  background: #ccfbf1;
}

.step h3 {
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Programs */
.programs-section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 45%, #f8fafc 45%);
  padding: 4rem 0 4.5rem;
}

.programs-head {
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}

.programs-head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 0.4rem;
}

.programs-head p {
  margin: 0;
  color: #94a3b8;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.program-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-code {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue);
}

.program-card h3 {
  font-size: 0.88rem;
  margin: 0.5rem 0;
  color: var(--navy);
  font-weight: 650;
}

.program-icon {
  font-size: 1.3rem;
  align-self: flex-end;
}

.program-all {
  background: var(--blue);
  color: #fff;
  border: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.program-all:hover {
  background: #1d4ed8;
}

/* Testimonials */
.testimonial-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.carousel-btn:hover {
  background: #1d4ed8;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.testimonial-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.15rem;
  min-height: 5.5rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.t-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.t-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.t-author span {
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 700;
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  padding: 2.5rem 0 1.5rem;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.final-copy {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.final-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.final-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin: 0 0 0.35rem;
}

.final-copy p {
  margin: 0;
  color: #bfdbfe;
}

.final-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  font-weight: 700;
}

.final-links a:hover {
  color: #fbbf24;
}

/* Footer */
.site-footer {
  background: #f1f5f9;
  padding-top: 3rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.logo-footer {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.footer-grid p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.92rem;
}

.footer-grid h4 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-family: var(--display);
}

.footer-grid a {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.footer-grid a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

.wa-float:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .top-bar-inner {
    grid-template-columns: 1fr;
    padding: 0.55rem 0;
    text-align: center;
  }

  .top-right,
  .top-left {
    justify-content: center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-stack {
    grid-template-columns: 1fr 1fr;
  }

  .lead-fields,
  .services-grid,
  .steps,
  .programs-grid,
  .testimonial-track,
  .journey-grid,
  .why-panel,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 700px) {
  .hero-stack,
  .lead-fields,
  .services-grid,
  .steps,
  .programs-grid,
  .testimonial-track,
  .journey-cards,
  .why-panel,
  .footer-grid,
  .journey-grid {
    grid-template-columns: 1fr;
  }

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

  .carousel-btn {
    display: none;
  }

  .testimonial-card > p,
  .service-card p {
    min-height: 0;
  }

  .logo img {
    height: 44px;
  }

  .section {
    padding: 3.25rem 0;
  }
}
