:root {
    --teal: #1fa597;
    --teal-dark: #158a7e;
    --teal-light: #e8f6f4;
    --yellow: #ffc224;
    --coral: #f2574a;
    --navy: #0f2448;
    --heading: #0b1b33;
    --text: #6b7280;
    --radius: 14px;
}

* { box-sizing: border-box; }
body { font-family: 'Lexend', sans-serif; color: var(--text); font-size: 15px; overflow-x: hidden; background: #fff; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 600; }
a { text-decoration: none; color: inherit; transition: .25s; }
img { max-width: 100%; }
.text-teal { color: var(--teal) !important; }
.text-coral { color: var(--coral) !important; }
.section { padding: 90px 0; }
.section-head { max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; margin-bottom: 12px; }
.section-head p { font-size: 14px; }
h2 { font-size: 34px; line-height: 1.25; }

.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 13px; font-weight: 500; margin-bottom: 10px; }

/* Buttons */
.btn { font-weight: 500; border-radius: 50px; padding: 10px 24px; font-size: 14px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-teal { background: var(--teal); color: #fff; border: none; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--heading); border: none; }
.btn-yellow:hover { background: #f0b000; color: var(--heading); }
.btn-arrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 22px; }
.btn-arrow span { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; }

/* Topbar */
.topbar { background: var(--navy); color: #c9d3e3; font-size: 13px; padding: 9px 0; }
.topbar a { color: var(--yellow); }

/* Navbar */
.site-nav { padding: 14px 0; box-shadow: 0 2px 20px rgba(0,0,0,.04); }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 20px; }
.brand strong { display: block; color: var(--heading); font-size: 22px; line-height: 1; letter-spacing: .5px; }
.brand small { font-size: 10px; color: var(--text); }
.site-nav .nav-link { color: var(--heading); font-weight: 500; font-size: 15px; padding: 8px 14px !important; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--teal); }
.cart-badge { position: absolute; top: 0; right: -8px; background: var(--teal); color: #fff; font-size: 10px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; }

/* Hero */
.hero { padding: 70px 0 40px; position: relative; background: radial-gradient(circle at 0% 30%, #f2fbfa 0, transparent 40%); }
.hero-title { font-size: 64px; font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.hero-note { font-size: 12px; color: var(--teal); }
.hero-visual { position: relative; height: 470px; }
.hero-shape { position: absolute; right: 30px; top: 40px; width: 300px; height: 380px; background: var(--yellow); border-radius: 40px 160px 40px 40px; }
.hero-main { position: absolute; right: 50px; top: 0; width: 320px; height: 430px; object-fit: cover; border-radius: 30px 160px 30px 30px; z-index: 1; }
.hero-side { position: absolute; left: 30px; top: 30px; width: 170px; height: 220px; object-fit: cover; border-radius: 80px 80px 24px 24px; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); z-index: 2; }
.hero-badge { position: absolute; left: 70px; bottom: 30px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 14px 40px rgba(0,0,0,.1); z-index: 3; text-align: center; }
.hero-badge small { font-size: 12px; color: var(--heading); font-weight: 500; }
.avatar-stack { display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.avatar-stack img, .avatar-stack span { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack span { background: var(--teal); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 600; }
.avatar-stack.lg img, .avatar-stack.lg span { width: 46px; height: 46px; }
.deco { position: absolute; border-radius: 50%; }
.deco-1 { width: 18px; height: 18px; border: 3px solid var(--teal); left: 10px; bottom: 120px; }
.deco-2 { width: 12px; height: 12px; background: var(--coral); right: 0; top: 10px; }

.feature-strip { margin-top: 60px; background: var(--teal); border-radius: var(--radius); padding: 26px 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 500; }
.feature-item i { font-size: 32px; opacity: .9; }
.feature-item + .feature-item { border-left: 1px solid rgba(255,255,255,.25); padding-left: 20px; }

/* Categories */
.category-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 12px 12px 22px; box-shadow: 0 10px 35px rgba(15,36,72,.07); transition: .3s; }
.category-card:hover { transform: translateY(-6px); }
.category-img { position: relative; margin-bottom: 30px; }
.category-img img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; }
.category-icon { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; font-size: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.category-card h5 { font-size: 17px; margin-bottom: 2px; }
.category-card small { color: var(--teal); }

/* About */
.about-visual { position: relative; padding: 30px 0 0 40px; }
.about-frame { border-radius: 40px; overflow: hidden; background: var(--teal-light); }
.about-frame img { width: 100%; height: 440px; object-fit: cover; }
.about-badge-teal { position: absolute; left: 0; top: 0; background: var(--teal); color: #fff; padding: 20px 24px; border-radius: 16px; }
.about-badge-teal i { font-size: 24px; }
.about-badge-teal h3 { color: #fff; font-size: 36px; margin: 6px 0 0; }
.about-badge-teal small { font-size: 11px; }
.about-badge-yellow { position: absolute; right: -10px; bottom: 50px; background: var(--yellow); color: var(--heading); padding: 16px 20px; border-radius: 16px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.about-badge-yellow h4 { margin: 0; font-size: 26px; }
.about-badge-yellow small { font-size: 11px; }
.mini-feature { display: flex; gap: 12px; }
.mini-feature i { font-size: 26px; color: var(--teal); }
.mini-feature h6 { font-size: 15px; margin-bottom: 6px; }
.mini-feature p { font-size: 13px; margin: 0; }
.check-list, .star-list { list-style: none; padding: 0; }
.check-list li, .star-list li { padding: 5px 0 5px 28px; position: relative; font-size: 14px; }
.check-list li::before { content: "\F26B"; font-family: bootstrap-icons; position: absolute; left: 0; color: var(--teal); }
.star-list li { color: var(--heading); font-weight: 500; }
.star-list li::before { content: "\F586"; font-family: bootstrap-icons; position: absolute; left: 0; color: var(--yellow); }
.signature { font-family: 'Brush Script MT', cursive; font-size: 24px; color: var(--heading); line-height: 1; }
.stats { margin-top: 70px; }
.stats h3 { font-size: 40px; font-weight: 600; margin-bottom: 8px; }
.stats h6 { margin-bottom: 4px; }
.stats p { font-size: 13px; margin: 0; }

/* Courses */
.courses-section { background: var(--teal-light); position: relative; border-radius: 80px 80px 0 0; }
.course-tabs { gap: 6px; list-style: none; }
.course-tabs button { border: none; background: transparent; padding: 8px 18px; border-radius: 50px; color: var(--heading); font-weight: 500; font-size: 14px; }
.course-tabs button.active, .course-tabs button:hover { background: #fff; color: var(--teal); box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.slider-wrap { position: relative; }
.course-track { display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 16px; }
.course-track::-webkit-scrollbar { display: none; }
.course-col { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
.course-card { background: #fff; border-radius: var(--radius); padding: 12px; height: 100%; display: flex; flex-direction: column; transition: .3s; }
.course-card:hover { box-shadow: 0 16px 40px rgba(15,36,72,.1); transform: translateY(-4px); }
.course-img img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; }
.course-body { padding: 14px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.course-tag { background: var(--teal-light); color: var(--teal); font-size: 11px; padding: 3px 10px; border-radius: 4px; }
.rating { font-size: 12px; color: var(--heading); }
.rating i { color: var(--yellow); }
.rating small { color: var(--text); }
.course-body h5 { font-size: 16px; line-height: 1.4; }
.teacher { font-size: 12px; margin-bottom: 10px; }
.teacher strong { color: var(--heading); font-weight: 500; }
.course-meta { display: flex; gap: 16px; font-size: 12px; padding: 10px 0; border-top: 1px dashed #e5e7eb; border-bottom: 1px dashed #e5e7eb; }
.course-meta i { color: var(--teal); }
.course-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.price { color: var(--teal); font-weight: 600; font-size: 18px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid #dfe5ea; background: #fff; color: var(--heading); z-index: 5; display: grid; place-items: center; transition: .25s; }
.slider-btn.next { background: var(--yellow); border-color: var(--yellow); }
.slider-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.slider-btn.prev { left: -60px; }
.slider-btn.next { right: -60px; }

.promo { border-radius: 20px; padding: 34px 30px; display: flex; align-items: center; gap: 24px; min-height: 220px; overflow: hidden; }
.promo h4 { font-size: 24px; }
.promo p { font-size: 13px; max-width: 280px; }
.promo-img { width: 150px; height: 170px; object-fit: cover; border-radius: 80px 80px 16px 16px; flex-shrink: 0; }
.promo-teal { background: var(--teal); }
.promo-teal h4, .promo-teal p { color: #fff; }
.promo-yellow { background: var(--yellow); }
.promo-yellow p { color: #4b3b07; }

/* Why */
.why-visual { position: relative; height: 470px; }
.why-main { width: 70%; height: 400px; object-fit: cover; border-radius: 20px 140px 20px 20px; }
.why-sub { position: absolute; right: 0; bottom: 0; width: 46%; height: 260px; object-fit: cover; border-radius: 120px 120px 20px 20px; border: 8px solid #fff; }
.why-badge { position: absolute; left: 30%; top: 30px; background: #fff; border-radius: 12px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.1); font-size: 13px; color: var(--heading); font-weight: 500; }
.why-badge i { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 18px; }

/* CTA */
.cta-bar { background: var(--navy); border-radius: 20px; padding: 26px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-bar .avatar-stack { margin: 0; }
.cta-bar .avatar-stack img, .cta-bar .avatar-stack span { border-color: var(--navy); }
.cta-seal { width: 70px; height: 70px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 28px; outline: 2px dashed var(--yellow); outline-offset: 4px; }
.cta-bar h3 { color: #fff; font-size: 26px; margin: 0; }

/* Team */
.team-card { text-align: center; }
.team-card.offset-down { margin-top: 50px; }
.team-img { position: relative; overflow: hidden; border-radius: 20px; background: var(--teal-light); margin-bottom: 16px; }
.team-img img { width: 100%; height: 300px; object-fit: cover; transition: .4s; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-social { position: absolute; left: 0; right: 0; bottom: -60px; display: flex; justify-content: center; gap: 8px; transition: .3s; }
.team-card:hover .team-social { bottom: 16px; }
.team-social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--heading); display: grid; place-items: center; }
.team-social a:hover { background: var(--teal); color: #fff; }
.team-card h5 { font-size: 18px; margin-bottom: 2px; }
.team-card small { color: var(--teal); }

/* Testimonials */
.testimonial-section { background: linear-gradient(180deg, #fff 0%, #f7fbfb 100%); }
.testimonial-section .carousel { position: relative; padding: 0 10px; }
.testimonial-section .slider-btn.prev { left: -50px; }
.testimonial-section .slider-btn.next { right: -50px; }
.testi-card { background: #fff; border-radius: 24px 24px 24px 80px; padding: 30px; text-align: center; box-shadow: 0 14px 45px rgba(15,36,72,.07); height: 100%; }
.stars i { color: #ff9b26; font-size: 13px; margin-right: 2px; }
.quote { font-size: 44px; color: var(--yellow); line-height: .6; }
.testi-card p { font-size: 14px; font-style: italic; margin: 16px 0 20px; }
.testi-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-card h6 { font-size: 14px; }
.testi-card small { font-size: 12px; color: var(--teal); }

/* Newsletter */
.newsletter { background: var(--teal); position: relative; overflow: hidden; }
.newsletter::after { content: ""; position: absolute; right: 30px; top: 20px; width: 140px; height: 140px; background-image: radial-gradient(rgba(255,255,255,.4) 2px, transparent 2px); background-size: 14px 14px; }
.newsletter h2 { color: #fff; margin-bottom: 24px; }
.news-visual { position: relative; height: 330px; }
.news-visual img { position: absolute; left: 60px; bottom: 0; width: 280px; height: 330px; object-fit: cover; border-radius: 140px 140px 0 0; z-index: 1; }
.news-ring { position: absolute; left: 20px; bottom: -80px; width: 360px; height: 360px; border-radius: 50%; border: 40px solid var(--yellow); }
.subscribe-form { background: #fff; border-radius: 50px; padding: 6px; display: flex; max-width: 520px; position: relative; z-index: 2; }
.subscribe-form input { flex: 1; border: none; outline: none; padding: 0 20px; border-radius: 50px; font-family: inherit; min-width: 0; }

/* Blog */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 35px rgba(15,36,72,.07); height: 100%; }
.blog-img { padding: 12px 12px 0; }
.blog-img img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }
.blog-author { display: flex; align-items: center; gap: 10px; margin: -24px 24px 0; position: relative; background: #fff; border-radius: 50px; padding: 6px 6px 6px 8px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.blog-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.blog-author small { display: block; font-size: 10px; }
.blog-author strong { font-size: 13px; color: var(--heading); font-weight: 500; }
.blog-arrow { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.blog-body { padding: 18px 24px 26px; }
.blog-cat { color: var(--coral); font-size: 12px; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; margin: 6px 0 10px; }
.blog-meta i { color: var(--teal); }
.blog-body h5 { font-size: 18px; line-height: 1.4; }
.blog-body h5 a:hover { color: var(--teal); }
.blog-body p { font-size: 13px; margin: 0; }

.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 80px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #2d6aa8; opacity: .75; transition: .3s; }
.partner:hover { opacity: 1; color: var(--teal); }
.partner i { font-size: 40px; }
.partner span { font-weight: 700; font-size: 13px; letter-spacing: 1px; }

/* Footer */
.site-footer { background: #f7fafa; padding-top: 80px; border-top: 1px solid #edf1f3; }
.site-footer h6 { font-size: 17px; margin-bottom: 20px; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer ul a:hover { color: var(--teal); }
.contact-list li { display: flex; gap: 8px; }
.contact-list i { color: var(--teal); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--teal); box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.socials a:hover { background: var(--teal); color: #fff; }
.footer-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.footer-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.footer-bottom { background: var(--teal); color: #fff; padding: 14px 0; margin-top: 60px; font-size: 13px; }
.payments { display: flex; gap: 8px; }
.payments i { background: #fff; color: var(--navy); padding: 2px 10px; border-radius: 4px; font-size: 16px; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; z-index: 99; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 1399px) {
    .slider-btn.prev { left: -20px; }
    .slider-btn.next { right: -20px; }
    .testimonial-section .slider-btn.prev { left: -20px; }
    .testimonial-section .slider-btn.next { right: -20px; }
}
@media (max-width: 991px) {
    .hero-title { font-size: 46px; }
    .course-col { flex-basis: calc((100% - 24px) / 2); }
    .feature-strip { grid-template-columns: 1fr; }
    .feature-item + .feature-item { border-left: none; padding-left: 0; }
    .team-card.offset-down { margin-top: 0; }
    .partners { grid-template-columns: repeat(3, 1fr); }
    .cta-bar { justify-content: center; text-align: center; }
    .nav-actions { padding: 10px 0; }
    .courses-section { border-radius: 40px 40px 0 0; }
}
@media (max-width: 575px) {
    .section { padding: 60px 0; }
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    h2, .section-head h2 { font-size: 26px; }
    .hero-title { font-size: 38px; }
    .hero-visual { height: 380px; }
    .hero-shape { width: 220px; height: 300px; right: 0; }
    .hero-main { width: 230px; height: 340px; right: 10px; }
    .hero-side { width: 120px; height: 160px; left: 0; }
    .hero-badge { left: 0; bottom: 10px; }
    .course-col { flex-basis: 88%; }
    .promo { flex-direction: column; text-align: center; }
    .stats h3 { font-size: 30px; }
    .about-frame img { height: 340px; }
    .why-visual { height: 380px; }
    .why-main { height: 320px; }
    .why-sub { height: 200px; }
    .slider-btn { display: none; }
    .subscribe-form .btn { padding: 8px 14px; }
}
