:root {
  --wine-950: #260008;
  --wine-900: #3a000d;
  --wine-800: #560014;
  --wine-700: #76001d;
  --wine-600: #97002d;
  --wine-500: #bd1f4b;
  --pink: #ff3f70;
  --soft-pink: #ff7d9e;
  --cream: #fff8fa;
  --ink: #23050b;
  --muted: #6f5960;
  --border: rgba(112, 0, 28, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { text-decoration: none; }
.topbar {
  background: #250006;
  color: #fff;
  padding: 10px 0;
  font-size: .86rem;
}
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { opacity: 1; color: #ff9ab3; }

.main-nav {
  background: linear-gradient(105deg, #51000f 0%, #79001f 50%, #4a000c 100%);
  min-height: 82px;
  z-index: 1000;
}
.navbar-brand {
  color: #fff !important;
  position: relative;
  min-width: 235px;
  line-height: 1;
  padding: 0;
}
.brand-npx {
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: -2px;
}
.brand-projects {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 6px;
  letter-spacing: .3px;
}
.navbar-brand small {
  display: block;
  margin-left: 84px;
  margin-top: 5px;
  font-size: .67rem;
  letter-spacing: .4px;
}
.nav-link {
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  margin: 0 8px;
  padding: 31px 4px !important;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active { border-bottom-color: #ff527c; }
.dropdown-menu {
  border: 0;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}
.dropdown-item:hover { background: #fff0f4; color: var(--wine-700); }
.nav-actions { display: flex; gap: 13px; align-items: center; }
.icon-btn {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.35rem;
  position: relative;
}
.cart-btn span {
  position: absolute;
  top: -7px;
  right: -9px;
  width: 18px;
  height: 18px;
  background: var(--pink);
  color: #fff;
  font-size: .68rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 85px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(255,62,112,.30), transparent 25%),
    radial-gradient(circle at 10% 80%, rgba(255,0,70,.12), transparent 25%),
    linear-gradient(135deg, #310008 0%, #640018 48%, #7e001f 100%);
}
.hero-section:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .16;
  pointer-events: none;
}
.hero-section > .container { z-index: 2; }
.eyebrow {
  display: inline-block;
  color: #ff91aa;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 1.7px;
  margin-bottom: 15px;
}
.hero-section h1 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -2.5px;
  margin: 0 0 24px;
}
.hero-section h1 span {
  background: linear-gradient(90deg, #ff6b8e, #ffb0c3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text {
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 30px 0;
}
.hero-features > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,.25);
}
.hero-features > div:last-child { border-right: 0; }
.hero-features i { color: #ff547d; font-size: 1.55rem; }
.hero-features strong, .hero-features small { display: block; }
.hero-features strong { font-size: .83rem; }
.hero-features small { color: rgba(255,255,255,.68); font-size: .73rem; margin-top: 3px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary {
  background: linear-gradient(90deg, #ff3c6e, #e62c5b);
  border: 0;
  box-shadow: 0 12px 30px rgba(255,45,91,.22);
}
.btn-primary:hover { background: linear-gradient(90deg, #ff527e, #ef3765); transform: translateY(-1px); }
.hero-visual {
  position: relative;
  height: 560px;
  min-width: 100%;
}
.student-card {
  position: absolute;
  width: 300px;
  height: 450px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 160px 160px 0 0;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden;
  backdrop-filter: blur(5px);
}
.student-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 65px;
  background:
    radial-gradient(circle at 50% 28%, #ffd9df 0 12%, transparent 12.5%),
    radial-gradient(ellipse at 50% 32%, #3b0711 0 17%, transparent 17.5%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,63,112,.15));
}
.student-placeholder > i {
  font-size: 13rem;
  color: rgba(255,238,242,.92);
  line-height: .9;
  margin-top: 35px;
}
.student-books { display: flex; gap: 15px; font-size: 2.2rem; color: #fff; }
.orbit {
  position: absolute;
  border: 1px solid rgba(255,100,140,.2);
  border-radius: 50%;
  left: 50%;
  top: 46%;
  transform: translate(-50%,-50%);
}
.orbit-1 { width: 540px; height: 540px; }
.orbit-2 { width: 430px; height: 430px; }
.orbit-3 { width: 640px; height: 640px; opacity: .5; }
.floating-stat {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 170px;
  padding: 14px 17px;
  background: rgba(75,0,16,.82);
  border: 1px solid rgba(255,135,160,.3);
  border-radius: 17px;
  box-shadow: 0 16px 35px rgba(0,0,0,.2);
  backdrop-filter: blur(8px);
}
.floating-stat .stat-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--wine-700);
  font-size: 1.25rem;
}
.floating-stat strong, .floating-stat small { display: block; }
.floating-stat strong { font-size: 1rem; }
.floating-stat small { font-size: .72rem; color: #ffdce5; margin-top: 2px; }
.stat-top { top: 95px; right: 0; }
.stat-mid { top: 250px; right: -35px; }
.stat-bottom { bottom: 100px; right: 0; }

.search-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 210px 1fr 230px;
  gap: 10px;
  padding: 12px;
  margin: 30px 0 -1px;
  background: rgba(65,0,14,.72);
  border: 1px solid rgba(255,125,155,.35);
  border-radius: 16px 16px 0 0;
}
.search-panel .form-control, .search-panel .form-select {
  min-height: 52px;
  border: 0;
  box-shadow: none;
  border-radius: 10px;
}
.search-input-wrap { position: relative; }
.search-input-wrap i { position: absolute; right: 18px; top: 15px; color: var(--wine-700); }
.search-btn { min-height: 52px; font-weight: 800; }

.section-dark {
  background: linear-gradient(180deg, #3b000b, #260006);
  color: #fff;
}
.categories-section { padding: 70px 0 60px; }
.section-heading span {
  color: #ff6288;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: 1.7px;
}
.section-heading h2 {
  margin: 5px 0 25px;
  font-size: 1.7rem;
  font-weight: 850;
}
.section-heading h2:after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  background: #ff4c77;
}
.category-card {
  min-height: 145px;
  padding: 20px 10px;
  color: #fff;
  border: 1px solid rgba(255,120,150,.26);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
}
.category-card:hover {
  transform: translateY(-5px);
  background: rgba(255,62,112,.11);
  border-color: rgba(255,110,145,.55);
  color: #fff;
}
.category-card i { font-size: 2.2rem; color: #ffc1ce; margin-bottom: 12px; }
.category-card strong { font-size: .78rem; }
.category-card small { font-size: .68rem; color: rgba(255,255,255,.65); margin-top: 6px; }
.why-box {
  padding-left: 28px;
  border-left: 1px solid rgba(255,120,150,.25);
}
.why-box ul { padding: 0; margin: 0; list-style: none; }
.why-box li { font-size: .84rem; margin-bottom: 13px; color: #ffe9ee; }
.why-box li i { color: #ff4d78; margin-right: 8px; }

.trust-strip {
  padding: 25px 0;
  background: #fff;
  box-shadow: 0 10px 35px rgba(48,0,10,.08);
}
.trust-item {
  min-height: 75px;
  padding: 5px 25px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 1px solid #ead8dd;
}
.trust-item:last-child { border-right: 0; }
.trust-item > i { color: var(--wine-700); font-size: 2rem; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { font-size: .78rem; }
.trust-item span { color: var(--muted); font-size: .72rem; margin-top: 4px; }

.projects-section { padding: 85px 0; background: #fff; }
.dark-text { color: var(--ink); }
.view-all { color: var(--wine-700); font-weight: 800; font-size: .82rem; }
.project-card {
  height: 100%;
  overflow: hidden;
  border-radius: 17px;
  border: 1px solid #eadde1;
  background: #fff;
  box-shadow: 0 12px 35px rgba(55,0,12,.07);
  transition: .25s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(55,0,12,.12); }
.project-image {
  height: 185px;
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
}
.project-image i { font-size: 4.3rem; opacity: .9; }
.project-image span {
  position: absolute; top: 14px; left: 14px;
  font-size: .68rem; font-weight: 800;
  padding: 6px 9px; border-radius: 20px;
  background: rgba(255,255,255,.17);
}
.java-bg { background: linear-gradient(135deg,#3d000a,#850021); }
.ai-bg { background: linear-gradient(135deg,#1d0010,#a00036); }
.web-bg { background: linear-gradient(135deg,#51001b,#d23b69); }
.project-body { padding: 22px; }
.project-tag { color: var(--wine-600); font-size: .68rem; font-weight: 800; }
.project-body h3 { font-size: 1.05rem; font-weight: 800; margin: 8px 0; }
.project-body p { color: var(--muted); font-size: .8rem; margin-bottom: 20px; }
.project-footer { display: flex; justify-content: space-between; align-items: center; }
.project-footer strong { color: var(--wine-800); font-size: 1.25rem; }
.project-footer button {
  border: 1px solid #e7b9c4; background: #fff5f7;
  color: var(--wine-700); border-radius: 8px;
  padding: 8px 11px; font-size: .68rem; font-weight: 800;
}
.project-footer button:hover { background: var(--wine-700); color: #fff; }
.no-results { text-align: center; padding: 60px 0; color: var(--muted); }
.no-results i { font-size: 2.8rem; color: var(--wine-600); }

.services-section {
  padding: 85px 0;
  background: #fff7f9;
}
.service-card {
  height: 100%;
  padding: 32px 25px;
  background: #fff;
  border: 1px solid #f0dfe4;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(55,0,12,.04);
}
.service-card i { color: var(--wine-700); font-size: 2.1rem; }
.service-card h3 { font-size: 1.1rem; margin: 20px 0 10px; }
.service-card p { color: var(--muted); font-size: .86rem; line-height: 1.65; }

.request-section {
  padding: 70px 0;
  background: linear-gradient(120deg, #3c000b, #76001e);
  color: #fff;
}
.request-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 45px;
  border: 1px solid rgba(255,170,185,.2);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
}
.request-box h2 { font-size: 2.1rem; margin: 0 0 10px; }
.request-box p { margin: 0; color: #f6dce3; max-width: 700px; }

.training-section { padding: 90px 0; background: #fff; }
.training-section h2 { font-size: 2.5rem; font-weight: 850; margin: 5px 0 15px; }
.training-section > .container > .row > .col-lg-7 > p { color: var(--muted); max-width: 650px; line-height: 1.8; margin-bottom: 25px; }
.training-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px; margin-bottom: 15px;
  border: 1px solid #eedde2; border-radius: 14px;
}
.training-icon {
  width: 55px; height: 55px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff0f4; color: var(--wine-700);
  font-size: 1.45rem;
}
.training-card strong, .training-card span { display: block; }
.training-card span { color: var(--muted); font-size: .8rem; margin-top: 4px; }

.contact-section { padding: 80px 0; background: #fff7f9; }
.contact-card {
  text-align: center; padding: 35px 20px;
  background: #fff; border: 1px solid #f0dfe4; border-radius: 15px;
}
.contact-card i { font-size: 2rem; color: var(--wine-700); }
.contact-card h3 { font-size: 1rem; margin: 14px 0 8px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .85rem; }

.footer {
  padding: 70px 0 20px;
  background: #220005;
  color: #f8dfe5;
}
.footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 15px; }
.footer-brand span { font-size: 2rem; font-weight: 900; margin-right: 6px; }
.footer p { color: #bfa0a8; font-size: .82rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: .92rem; margin-bottom: 20px; }
.footer a { display: block; color: #bfa0a8; font-size: .8rem; margin-bottom: 11px; }
.footer a:hover { color: #ff7899; }
.social-links { display: flex; gap: 9px; }
.social-links a {
  display: grid; place-items: center;
  width: 37px; height: 37px; border: 1px solid #57202b; border-radius: 50%;
  color: #fff;
}
.newsletter { display: flex; max-width: 390px; }
.newsletter input {
  min-width: 0; flex: 1; border: 0; outline: 0;
  padding: 12px 14px; border-radius: 8px 0 0 8px;
}
.newsletter button {
  border: 0; padding: 0 18px; border-radius: 0 8px 8px 0;
  background: var(--pink); color: #fff; font-weight: 800;
}
.footer hr { border-color: #482029; margin: 40px 0 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: #8f6d75; font-size: .72rem; }

.custom-toast {
  position: fixed; right: 25px; bottom: 25px; z-index: 2000;
  padding: 14px 18px; background: #2d0008; color: #fff;
  border-left: 4px solid #ff4b76; border-radius: 8px;
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  transform: translateY(30px); opacity: 0; pointer-events: none;
  transition: .25s ease;
}
.custom-toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1199px) {
  .nav-link { margin: 0 3px; font-size: .74rem; }
  .navbar-brand { min-width: 200px; }
  .stat-mid { right: -5px; }
}
@media (max-width: 991px) {
  .main-nav { padding: 13px 0; }
  .nav-link { padding: 12px 4px !important; }
  .nav-actions { padding: 12px 0; }
  .hero-section { padding-top: 55px; }
  .hero-visual { height: 500px; margin-top: 10px; }
  .why-box { border-left: 0; border-top: 1px solid rgba(255,120,150,.25); padding: 30px 0 0; }
  .search-panel { grid-template-columns: 1fr; margin-top: 20px; }
  .trust-item { border-right: 0; border-bottom: 1px solid #ead8dd; padding: 15px 20px; }
  .trust-item:last-child { border-bottom: 0; }
}
@media (max-width: 575px) {
  .topbar { font-size: .72rem; }
  .topbar .container > div { gap: 12px !important; }
  .brand-npx { font-size: 1.9rem; }
  .brand-projects { font-size: .82rem; }
  .navbar-brand small { margin-left: 72px; }
  .hero-section h1 { font-size: 2.65rem; letter-spacing: -1.5px; }
  .hero-text { font-size: .94rem; }
  .hero-features { gap: 12px; }
  .hero-features > div { border-right: 0; padding-right: 0; min-width: 45%; }
  .hero-buttons .btn { width: 100%; }
  .hero-visual { height: 440px; }
  .student-card { width: 230px; height: 350px; }
  .student-placeholder > i { font-size: 9rem; }
  .orbit-1 { width: 380px; height: 380px; }
  .orbit-2 { width: 300px; height: 300px; }
  .orbit-3 { width: 450px; height: 450px; }
  .floating-stat { transform: scale(.83); }
  .stat-top { top: 70px; right: -4px; }
  .stat-mid { top: 205px; right: -15px; }
  .stat-bottom { bottom: 65px; right: -4px; }
  .request-box { padding: 30px 23px; flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
