:root {
  --primary: #22aee8;
  --primary-dark: #0897d2;
  --dark: #111827;
  --muted: #687386;
  --light-blue: #eaf8ff;
  --purple: #7c68f8;
  --pink: #e75786;
  --footer: #2d204d;
}

* { box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; }

.topbar {
  background: #151923;
  color: #c9d1dd;
  font-size: 12px;
  padding: 7px 0;
}
.topbar span { margin-right: 18px; }
.topbar-right span { margin-left: 12px; margin-right: 0; color: #fff; }

.main-navbar {
  height: 76px;
  box-shadow: 0 3px 18px rgba(22, 48, 85, .07);
}
.navbar-brand {
  line-height: .9;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  display: inline-flex;
  flex-direction: column;
}
.logo-prep { color: #2c3552; }
.logo-medix { color: var(--primary); margin-left: 3px; }
.navbar-brand small {
  color: #668092;
  font-size: 8px;
  letter-spacing: .2px;
  font-weight: 500;
  margin-left: 4px;
  margin-top: 2px;
}
.navbar-nav .nav-link {
  color: #1d2637;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px !important;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--primary); }
.sign-link { color: #17aee8; font-size: 14px; font-weight: 500; }
.profile-circle {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}

.hero-section { background: linear-gradient(100deg, #ffffff 0%, #ffffff 48%, #fff2f5 100%); }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 92% 18%, rgba(239, 87, 130, .12), transparent 28%);
}
.min-vh-hero { min-height: 610px; position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  color: #188ece; background: #f0fbff; border-radius: 50px;
  padding: 7px 15px; font-size: 12px; font-weight: 600; letter-spacing: .8px;
}
.pill span { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; display: inline-block; }
.hero-section h1 {
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
}
.hero-text { color: #465569; font-size: 17px; max-width: 650px; line-height: 1.75; }
.btn-main, .btn-demo { padding: 13px 28px; border-radius: 4px; font-weight: 600; font-size: 14px; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.avatar-group img {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; object-fit: cover;
}
.avatar-group img:first-child { margin-left: 0; }
.students-row span { font-size: 14px; color: #637083; }
.hero-student {
  max-width: 100%; height: 555px; object-fit: cover; border-radius: 8px;
}
.circle-outline {
  width: 54px; height: 54px; border: 12px solid #1cb6df; border-radius: 50%; display: block;
}
.hero-circle { position: absolute; right: 65px; bottom: 58px; }

.stats-section { background: linear-gradient(90deg, #22aee8, #62bdec); color: #fff; }
.stat-item { padding: 31px 10px; }
.stat-item h3 { font-size: 34px; font-weight: 700; margin-bottom: 3px; }
.stat-item p { margin: 0; font-size: 12px; opacity: .95; }

.section-padding { padding: 95px 0; }
.section-title h2,
.why-section h2,
.testimonial-section h2,
.director-section h2,
.pricing-section h2,
.faq-section h2,
.contact-card h2 { font-size: clamp(28px, 3vw, 43px); font-weight: 600; font-family: Montserrat;}
.brand-script { color: var(--primary); font-weight: 800; font-style: italic; letter-spacing: .8px; }
.section-title p { color: var(--muted); }
.tag {
  display: inline-block; background: #d487ff; color: #fff; padding: 5px 18px;
  border-radius: 30px; font-size: 12px; margin-bottom: 10px; font-weight: 600;
}
.feature-card {
  height: 100%; background: #fff; border: 1px solid #e8eef5; border-radius: 6px;
  padding: 28px 26px; box-shadow: 0 10px 30px rgba(20, 60, 95, .035);
  transition: .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(20, 60, 95, .08); }
.feature-card h5 { font-size: 16px; font-weight: 700; margin-top: 18px; }
.feature-card p { color: #6c7888; font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.icon-badge {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px;
}
.icon-badge.blue { background: #e3f7ff; color: #19aee8; }
.icon-badge.orange { background: #fff0df; color: #f79d22; }
.icon-badge.pink { background: #ffe8f0; color: #e84a7d; }
.icon-badge.yellow { background: #fff8d6; color: #d6a700; }
.icon-badge.green { background: #e9fff4; color: #11aa6c; }
.icon-badge.purple { background: #efeaff; color: #705cf6; }

.light-blue-section { background: var(--light-blue); }
.shape { position: absolute; display: block; border-radius: 50%; z-index: 0; }
.shape-left { width: 170px; height: 170px; background: #09a8dd; left: -80px; top: 0; }
.shape-left::after { content: ''; position: absolute; inset: -58px; border: 48px solid rgba(9, 168, 221, .11); border-radius: 50%; }
.shape-right-pink { width: 155px; height: 155px; background: var(--pink); right: -60px; bottom: -70px; }
.program-card {
  position: relative; overflow: hidden; min-height: 275px;
  background: #fff; border: 1px solid #e2edf6; border-radius: 10px;
  padding: 30px; box-shadow: 0 13px 35px rgba(20, 70, 110, .06);
}
.program-card::after {
  content: ''; position: absolute; width: 130px; height: 130px; right: -30px; bottom: -20px;
  background:#feb1ca;
  opacity: .45; border-radius: 50%;
}
.program-card h5 { font-size: 18px; font-weight: 700; }
.program-card p, .program-card li { color: #667386; font-size: 14px; line-height: 1.65; }
.program-card ul { padding: 0; list-style: none; position: relative; z-index: 1; }
.program-card li i { color: var(--primary); margin-right: 8px; }
.program-card a { color: var(--primary); font-size: 14px; font-weight: 600; position: relative; z-index: 1; }

.section-line { width: 78px; height: 1px; background: #496489; display: inline-block; margin-bottom: 10px; }
.mini-title { display: block; letter-spacing: 4px; color: #68748a; font-size: 12px; margin-bottom: 15px; }
.testimonial-section p { color: #596579; line-height: 1.8; }
.video-card { position: relative; max-width: 520px; margin-left: auto; }
.video-card > img { width: 100%; height: 440px; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 45px rgba(15, 42, 69, .13); }
.play-btn {
  position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 34px;
}
.next-btn {
  position: absolute; right: -23px; top: 45%; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: #fff; color: var(--primary); box-shadow: 0 7px 25px rgba(0,0,0,.12);
}
.review-box {
  position: absolute; right: -80px; bottom: -42px; width: 360px; background: #fff; border-left: 5px solid var(--primary);
  border-radius: 5px; padding: 22px; box-shadow: 0 12px 32px rgba(18, 58, 95, .14);
}
.review-box p { font-size: 13px; margin-bottom: 12px; color: #4c596b; }
.review-box strong { color: #0b9fd8; font-size: 13px; }
.review-box span { color: #0b9fd8; font-size: 11px; }

.director-card {
  max-width: 870px; background: #fff; border-radius: 10px; padding: 26px 36px;
  box-shadow: 0 18px 45px rgba(13, 64, 100, .14); position: relative; z-index: 1;
}
.director-img { width: 100%; max-width: 265px; border-radius: 6px; object-fit: cover; box-shadow: 0 12px 25px rgba(0,0,0,.16); }
.quote-icon { color: #40bfe8; font-size: 42px; height: 30px; }
.director-card p { color: #5d6878; line-height: 1.75; }
.director-name { color: #111827; font-weight: 600; font-size: 13px; }
.dot { position: absolute; width: 14px; height: 14px; background: #f19a67; border-radius: 50%; }
.dot-one { left: 18%; top: 18%; }
.dot-two { right: 15%; bottom: 25%; }
.director-section::before { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #6d7cff; left: 14%; top: 22%; }
.director-section::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #6d7cff; left: 47%; bottom: 8%; }

.toggle-tabs {
  width: 220px; background: #edf5f9; border-radius: 100px; padding: 4px; display: flex; justify-content: space-between;
}
.toggle-tabs span { flex: 1; padding: 8px; font-size: 12px; border-radius: 100px; color: #687386; }
.toggle-tabs .active { background: var(--primary); color: #fff; }
.price-card {
  min-height: 375px; background: #fff; border: 1px solid #dce7f1; border-radius: 4px; padding: 30px;
  transition: .25s; position: relative;
}
.price-card.featured { border: 2px solid var(--primary); transform: translateY(-14px); box-shadow: 0 15px 35px rgba(34,174,232,.12); }
.popular { position: absolute; top: -14px; right: 18px; background: var(--primary); color: #fff; border-radius: 20px; padding: 5px 14px; font-size: 11px; }
.price-card h5 { font-weight: 700; }
.price-card h3 { font-size: 24px; font-weight: 700; margin: 18px 0 22px; }
.price-card ul { list-style: none; padding: 0; margin-bottom: 28px; }
.price-card li { color: #596579; font-size: 14px; margin-bottom: 13px; }
.price-card li i { color: var(--primary); margin-right: 8px; }

.faq-section::before { content: ''; position: absolute; width: 95px; height: 95px; border-radius: 50%; background: #7182ff; right: 34%; top: 18%; }
.faq-section::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #f4a16e; right: 28%; top: 14%; }
.faq-section p { color: #657184; }
.custom-accordion .accordion-item { border: 0; margin-bottom: 12px; background: transparent; }
.custom-accordion .accordion-button { min-height: 50px; border: 1px solid #d6e5ef; border-radius: 0 !important; font-size: 14px; box-shadow: none; }
.custom-accordion .accordion-button:not(.collapsed) { background: #fff; color: var(--dark); }
.faq-img { max-width: 100%; border-radius: 12px; }

.contact-section::before { content: ''; position: absolute; width: 80px; height: 80px; border-radius: 50%; background: #6f7fff; left: 44%; top: 10%; }
.contact-section::after { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #f4a16e; left: 21%; top: 8%; }
.contact-img { max-width: 100%; border-radius: 16px; }
.contact-card {
  max-width: 480px; margin-left: auto; background: #fff; padding: 42px; border-radius: 6px;
  box-shadow: 0 18px 45px rgba(25, 25, 65, .2);
}
.contact-card p { color: #667386; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 12px; color: #9ba8b8; z-index: 1; font-size: 14px; }
.input-icon .form-control { padding-left: 42px; min-height: 45px; border: 1px solid #dbe6f2; border-radius: 0; font-size: 13px; background: #f7f9fc; }
.input-icon textarea.form-control { padding-top: 12px; }

.app-section h2 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; }
.app-section h2 span { font-weight: 400; }
.app-section h2 b { color: var(--primary); font-style: italic; }
.app-section p { color: #596579; max-width: 460px; line-height: 1.75; }
.store-buttons img { border-radius: 6px; }
.app-img { max-width: 100%; filter: drop-shadow(0 15px 25px rgba(0,0,0,.18)); }

.footer-section { background: #f8fdff; padding-top: 90px; }
.footer-circle { position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 70px solid #08a8dd; right: -90px; top: -70px; }
.footer-top { position: relative; z-index: 1; }
.footer-logo { align-items: center; font-size: 48px; }
.newsletter-box {
  max-width: 760px; background: var(--footer); border-radius: 3px; padding: 22px 30px; display: flex; align-items: center; gap: 28px;
}
.newsletter-box span { color: #fff; font-size: 18px; white-space: nowrap; }
.newsletter-input { display: flex; width: 100%; background: #fff; padding: 5px; border-radius: 3px; }
.newsletter-input input { border: 0; outline: none; width: 100%; padding: 0 16px; font-size: 13px; }
.newsletter-input button { border: 0; background: var(--primary); color: #fff; padding: 10px 22px; font-size: 13px; border-radius: 2px; white-space: nowrap; }
.footer-links { padding: 65px 0 20px; background: #fff; margin-top: -24px; }
.footer-links h6 { color: #0d8fca; font-weight: 700; margin-bottom: 18px; }
.footer-links a { display: block; color: #516070; font-size: 13px; margin-bottom: 10px; }
.footer-links p { color: #516070; font-size: 13px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #e4edf4; margin-top: 40px; padding-top: 22px; color: #7d8998; font-size: 13px; }
.socials i { color: #0aa8df; margin: 0 8px; font-size: 14px; }

@media (max-width: 991.98px) {
  .main-navbar { height: auto; padding: 12px 0; }
  .navbar-collapse { padding: 18px 0; }
  .min-vh-hero { min-height: auto; padding: 70px 0 30px; }
  .hero-image-wrap { margin-top: 45px; }
  .hero-student { height: 420px; }
  .section-padding { padding: 70px 0; }
  .review-box { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 18px; }
  .video-card { margin: 0 auto; }
  .price-card.featured { transform: none; }
  .contact-card { margin: 0 auto; }
  .newsletter-box { flex-direction: column; align-items: stretch; }
  .footer-circle { opacity: .45; }
}

@media (max-width: 575.98px) {
  .hero-section h1 { font-size: 36px; }
  .hero-student { height: 320px; }
  .stat-item h3 { font-size: 26px; }
  .feature-card, .program-card, .price-card { padding: 22px; }
  .contact-card { padding: 28px 20px; }
  .newsletter-input { flex-direction: column; gap: 8px; background: transparent; }
  .newsletter-input input { min-height: 42px; border-radius: 3px; }
  .newsletter-input button { width: 100%; }
  .footer-logo { font-size: 38px; }
}
