@font-face {
  font-family: "Estedad";
  src: url("/fonts/Estedad-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --home-navy: #102b4e;
  --home-navy-deep: #0b1f38;
  --home-blue: #245b91;
  --home-gold: #f5b800;
  --home-bg: #f7f9fc;
  --home-white: #fff;
  --home-text: #172b45;
  --home-muted: #68778a;
  --home-border: #e7ecf2;
  --home-shadow: 0 12px 34px rgb(16 43 78 / 7%);
  --home-radius: 18px;
  font-family: "Estedad", Tahoma, sans-serif;
  color: var(--home-text);
  background: var(--home-white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--home-white); color: var(--home-text); font-family: "Estedad", Tahoma, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #f5b800; outline-offset: 3px; }
.site-shell { overflow: clip; }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; z-index: 50; top: 0; background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--home-border); box-shadow: 0 4px 18px rgb(16 43 78 / 4%); backdrop-filter: blur(14px); }
.header-inner { width: min(1320px, 100%); min-height: 76px; padding: 10px 24px; margin: auto; display: flex; align-items: center; gap: 20px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-name strong, .brand-name small { display: block; white-space: nowrap; }
.brand-name strong { color: var(--home-navy); font-size: 15px; font-weight: 850; }
.brand-name small { margin-top: 3px; color: var(--home-muted); font-size: 10px; font-weight: 500; }
.main-nav { flex: 1; min-width: 0; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.3vw, 20px); white-space: nowrap; }
.nav-link { position: relative; padding: 12px 0; color: #43566d; font-size: 12px; font-weight: 650; transition: color .2s ease; }
.nav-link::after { position: absolute; right: 0; bottom: 4px; left: 100%; height: 2px; border-radius: 2px; background: var(--home-gold); content: ""; transition: left .2s ease; }
.nav-link:hover, .nav-link.nav-active { color: var(--home-navy); }
.nav-link:hover::after, .nav-link.nav-active::after { left: 0; }
.header-actions { position: relative; display: flex; align-items: center; gap: 8px; flex: none; }
.header-search { position: relative; }
.header-search summary, .header-cart { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--home-border); border-radius: 11px; background: #f8fafc; color: var(--home-navy); cursor: pointer; list-style: none; font-size: 23px; line-height: 1; }
.header-search summary svg, .header-cart svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.header-search summary::-webkit-details-marker { display: none; }
.header-search[open] { position: absolute; z-index: 3; top: 47px; right: 0; width: min(330px, calc(100vw - 32px)); padding: 12px; border: 1px solid var(--home-border); border-radius: 13px; background: white; box-shadow: var(--home-shadow); }
.header-search[open] summary { position: absolute; top: -47px; left: 0; display: grid; }
.header-search input { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--home-border); border-radius: 9px; background: white; color: var(--home-text); font-size: 13px; }
.search-hint { display: block; margin-top: 7px; color: var(--home-muted); font-size: 11px; }
.header-cart { font-size: 18px; }
.header-login { min-height: 39px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border-radius: 10px; background: var(--home-navy); color: white; font-size: 11px; font-weight: 750; transition: background .2s ease, transform .2s ease; }
.header-login:hover { transform: translateY(-1px); background: var(--home-blue); }
.mobile-nav { display: none; }

/* Shared sections */
.home-page { width: 100%; }
.home-section { width: min(1280px, 100%); padding: 55px 24px; margin: 0 auto; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.home-eyebrow { display: inline-block; margin-bottom: 7px; color: var(--home-blue); font-size: 12px; font-weight: 750; }
.home-section-heading h2, .home-journey h2, .home-faq-contact h2 { margin: 0; color: var(--home-navy); font-size: clamp(23px, 2.35vw, 31px); font-weight: 850; line-height: 1.45; }
.home-section-heading p { margin: 7px 0 0; color: var(--home-muted); font-size: 12px; line-height: 1.9; }
.home-text-link { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--home-blue); font-size: 12px; font-weight: 750; }
.home-text-link span { transition: transform .2s ease; }
.home-text-link:hover span { transform: translateX(-4px); }
.home-demo-note { margin: -9px 0 15px; color: var(--home-muted); font-size: 11px; line-height: 1.8; }

/* Hero carousel */
.home-hero { position: relative; width: min(1320px, calc(100% - 32px)); height: clamp(300px, 34vw, 420px); margin: 16px auto 0; overflow: hidden; border-radius: 22px; background: var(--home-navy); box-shadow: 0 18px 38px rgb(11 31 56 / 14%); isolation: isolate; }
.home-hero-track, .home-slide { position: absolute; inset: 0; }
.home-slide { display: grid; grid-template-columns: 1fr 1.08fr; align-items: stretch; direction: ltr; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s; }
.home-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.home-slide-photo { position: relative; min-width: 0; overflow: hidden; }
.home-slide-photo::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 43%, var(--home-navy) 100%); content: ""; }
.home-slide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-slide-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 5vw, 62px); direction: rtl; color: white; }
.home-kicker { display: inline-flex; align-items: center; gap: 8px; color: #d5e3f2; font-size: 12px; font-weight: 650; }
.home-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--home-gold); box-shadow: 0 0 0 5px rgb(245 184 0 / 16%); }
.home-slide-content h1, .home-slide-content h2 { max-width: 640px; margin: 16px 0 9px; color: white; font-size: clamp(28px, 3.5vw, 48px); font-weight: 850; line-height: 1.5; }
.home-slide-content em { color: var(--home-gold); font-style: normal; }
.home-slide-content p { max-width: 540px; margin: 0; color: #d5dfeb; font-size: clamp(13px, 1.2vw, 16px); line-height: 2; }
.home-button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; padding: 0 19px; border-radius: 999px; font-size: 13px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.home-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgb(0 0 0 / 20%); }
.home-button-gold { background: var(--home-gold); color: var(--home-navy-deep); }
.home-slide-count { position: absolute; z-index: 2; right: 22px; bottom: 18px; color: white; direction: ltr; font-size: 12px; font-weight: 800; }
.home-slide-count i { color: #b7c8d9; font-style: normal; font-weight: 500; }
.home-hero-arrow { position: absolute; z-index: 4; top: 50%; width: 39px; height: 39px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; background: rgb(11 31 56 / 43%); color: white; cursor: pointer; font-size: 28px; line-height: 1; transition: background .2s ease, transform .2s ease; }
.home-hero-arrow:hover { transform: translateY(-50%) scale(1.06); background: var(--home-blue); }
.home-hero-prev { right: 14px; }
.home-hero-next { left: 14px; }
.home-hero-dots { position: absolute; z-index: 4; bottom: 21px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.home-hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / 52%); cursor: pointer; transition: width .25s ease, background .25s ease; }
.home-hero-dots button.is-active { width: 25px; background: var(--home-gold); }

/* Quick access */
.home-quick-links { width: min(1280px, calc(100% - 48px)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px auto 4px; }
.home-quick-card { min-height: 82px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid transparent; border-radius: 15px; transition: transform .2s ease, box-shadow .2s ease; }
.home-quick-card:hover { transform: translateY(-3px); box-shadow: var(--home-shadow); }
.home-quick-card > span:nth-child(2) { min-width: 0; }
.home-quick-card strong, .home-quick-card small { display: block; }
.home-quick-card strong { color: var(--home-navy); font-size: 14px; font-weight: 800; }
.home-quick-card small { margin-top: 3px; color: var(--home-muted); font-size: 10px; }
.home-quick-card > b { margin-right: auto; color: var(--home-muted); font-size: 17px; }
.home-quick-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: none; border-radius: 13px; background: white; color: var(--home-blue); font-size: 23px; font-weight: 800; }
.quick-exam { background: #eaf4fb; border-color: #dcecf8; }
.quick-class { background: #fff6df; border-color: #f6ebc8; }
.quick-guide { background: #eaf6ef; border-color: #dfefe5; }
.quick-shop { background: #fff0f0; border-color: #f8e2e4; }
.quick-class .home-quick-icon { color: #ab7900; }
.quick-guide .home-quick-icon { color: #32815c; }
.quick-shop .home-quick-icon { color: #b83a49; }

/* Featured classes */
.home-classes { padding-top: 48px; padding-bottom: 50px; }
.home-class-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-class-card { overflow: hidden; border: 1px solid var(--home-border); border-radius: var(--home-radius); background: white; box-shadow: 0 5px 18px rgb(16 43 78 / 4%); transition: transform .22s ease, box-shadow .22s ease; }
.home-class-card:hover { transform: translateY(-4px); box-shadow: var(--home-shadow); }
.home-class-photo { position: relative; height: 190px; overflow: hidden; background: #dfeaf1; }
.home-class-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.home-class-card:hover .home-class-photo img { transform: scale(1.035); }
.home-class-photo > span, .home-class-photo > b { position: absolute; top: 12px; z-index: 1; padding: 5px 9px; border-radius: 999px; background: rgb(11 31 56 / 78%); color: white; font-size: 10px; }
.home-class-photo > span { right: 12px; }
.home-class-photo > b { left: 12px; background: var(--home-gold); color: var(--home-navy-deep); }
.home-class-info { padding: 15px 16px 14px; }
.home-class-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--home-blue); font-size: 10px; font-weight: 700; }
.home-class-info h3 { margin: 9px 0 4px; color: var(--home-navy); font-size: 16px; font-weight: 800; }
.home-class-info p { margin: 0; color: var(--home-muted); font-size: 11px; }
.home-class-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--home-border); }
.home-class-bottom span { color: var(--home-muted); font-size: 10px; }
.home-class-bottom a { padding: 8px 12px; border-radius: 8px; background: var(--home-navy); color: white; font-size: 10px; font-weight: 750; }

/* Upcoming exams */
.home-exams-band { background: var(--home-bg); border-block: 1px solid var(--home-border); }
.home-exams-inner { padding-top: 44px; padding-bottom: 48px; }
.home-exam-list { overflow: hidden; border: 1px solid var(--home-border); border-radius: 15px; background: white; }
.home-exam-row { min-height: 78px; display: grid; grid-template-columns: 42px minmax(0, 1.7fr) minmax(145px, .8fr) auto; align-items: center; gap: 15px; padding: 13px 18px; }
.home-exam-row + .home-exam-row { border-top: 1px solid var(--home-border); }
.home-exam-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #edf4fa; color: var(--home-blue); font-size: 20px; }
.home-exam-row strong, .home-exam-row small { display: block; }
.home-exam-row strong { color: var(--home-navy); font-size: 13px; font-weight: 800; }
.home-exam-row small { margin-top: 3px; color: var(--home-muted); font-size: 10px; line-height: 1.7; }
.home-exam-status { justify-self: start; padding: 6px 10px; border-radius: 99px; background: #fff6df; color: #866000; font-size: 10px; font-weight: 700; }
.home-exam-row > a { color: var(--home-blue); font-size: 11px; font-weight: 800; white-space: nowrap; }

/* Learning journey */
.home-journey { width: min(1320px, calc(100% - 32px)); min-height: 330px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 30px; direction: ltr; margin: 48px auto; padding: 30px 38px; overflow: hidden; border: 1px solid var(--home-border); border-radius: 22px; background: linear-gradient(115deg, #f8fafc, #f2f6fb); }
.home-journey-art { position: relative; display: grid; min-height: 250px; place-items: center; }
.home-journey-art::before { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: #e4edf8; content: ""; }
.home-journey-art img { position: relative; width: 100%; max-width: 380px; max-height: 280px; object-fit: contain; }
.home-journey-content { direction: rtl; }
.home-journey-content > .home-eyebrow { margin-bottom: 4px; }
.home-journey h2 { font-size: clamp(23px, 2.6vw, 33px); }
.home-journey-intro { margin: 5px 0 16px; color: var(--home-muted); font-size: 12px; }
.home-journey-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.home-journey-steps::before { position: absolute; top: 20px; right: 12%; left: 12%; height: 2px; background: linear-gradient(90deg, transparent, #c9d7e6 10%, #c9d7e6 90%, transparent); content: ""; }
.home-journey-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 8px; padding: 11px 0 0; }
.home-journey-number { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 5px solid #f4f7fb; border-radius: 50%; background: var(--home-gold); color: var(--home-navy); direction: ltr; font-size: 10px; font-weight: 850; }
.home-journey-steps h3 { margin: 8px 0 4px; color: var(--home-navy); font-size: 13px; font-weight: 800; }
.home-journey-steps p { margin: 0; color: var(--home-muted); font-size: 10px; line-height: 1.8; }
.home-journey-symbol { display: none; }

/* Store and news */
.home-two-column { width: min(1320px, 100%); display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; direction: ltr; margin: 0 auto; padding: 0 24px; }
.home-two-column > .home-section { width: 100%; padding: 23px 20px 24px; direction: rtl; border: 1px solid var(--home-border); border-radius: 18px; background: white; box-shadow: 0 5px 22px rgb(16 43 78 / 4%); }
.home-two-column .home-section-heading { align-items: center; margin-bottom: 15px; }
.home-two-column .home-section-heading h2 { font-size: 21px; }
.home-two-column .home-eyebrow { margin-bottom: 3px; font-size: 10px; }
.home-two-column .home-text-link { font-size: 10px; }
.home-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-product-card { min-width: 0; overflow: hidden; border: 1px solid var(--home-border); border-radius: 12px; background: white; }
.home-product-placeholder { min-height: 178px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 13px 7px; color: white; text-align: center; }
.home-product-placeholder span { font-size: 10px; opacity: .88; }
.home-product-placeholder strong { font-size: 18px; font-weight: 850; }
.home-product-placeholder small { font-size: 9px; opacity: .85; }
.cover-blue { background: linear-gradient(145deg, #4376a2, #173c62); }
.cover-gold { background: linear-gradient(145deg, #c39a37, #71551f); }
.cover-red { background: linear-gradient(145deg, #bb5960, #78323d); }
.home-product-info { padding: 10px; }
.home-product-info > span { color: var(--home-blue); font-size: 9px; font-weight: 700; }
.home-product-info h3 { min-height: 36px; margin: 5px 0; color: var(--home-navy); font-size: 10px; line-height: 1.7; }
.home-product-info p { margin: 0; color: var(--home-muted); font-size: 9px; }
.home-product-info > div { display: grid; gap: 8px; margin-top: 9px; }
.home-product-info > div b { color: var(--home-muted); font-size: 9px; }
.home-product-info > div a { color: var(--home-blue); font-size: 9px; font-weight: 750; }
.home-news-list { display: grid; gap: 10px; }
.home-news-feature { display: grid; grid-template-columns: minmax(120px, .85fr) 1fr; gap: 13px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--home-border); }
.home-news-feature img { width: 100%; height: 132px; border-radius: 11px; object-fit: cover; }
.home-news-feature > div > span, .home-news-item > div > span { color: var(--home-blue); font-size: 9px; font-weight: 750; }
.home-news-feature h3 { margin: 5px 0; color: var(--home-navy); font-size: 13px; line-height: 1.7; }
.home-news-feature p { margin: 0; color: var(--home-muted); font-size: 10px; line-height: 1.8; }
.home-news-feature a { display: inline-flex; gap: 7px; margin-top: 7px; color: var(--home-blue); font-size: 10px; font-weight: 800; }
.home-news-item { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; }
.home-news-item img { width: 58px; height: 50px; border-radius: 9px; object-fit: cover; }
.home-news-item h3 { margin: 2px 0; color: var(--home-text); font-size: 10px; line-height: 1.6; }
.home-news-item small { color: var(--home-muted); font-size: 8px; }

/* Teachers and counselors */
.home-team { padding-top: 54px; padding-bottom: 58px; }
.home-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.home-team-card { position: relative; overflow: hidden; border: 1px solid var(--home-border); border-radius: 15px; background: white; box-shadow: 0 7px 22px rgb(16 43 78 / 5%); }
.home-team-card img { width: 100%; height: 190px; object-fit: cover; object-position: center 35%; }
.home-team-badge { position: absolute; top: 10px; right: 10px; padding: 5px 8px; border-radius: 99px; background: rgb(11 31 56 / 78%); color: white; font-size: 9px; }
.home-team-card > div { min-height: 76px; padding: 11px 13px; border-bottom: 4px solid var(--home-gold); }
.home-team-card h3 { margin: 0; color: var(--home-navy); font-size: 13px; font-weight: 800; }
.home-team-card p { margin: 4px 0 0; color: var(--home-muted); font-size: 9px; line-height: 1.7; }

/* FAQ */
.home-faq-contact { width: min(1280px, calc(100% - 48px)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 46px; padding: 38px; margin: 0 auto 56px; border: 1px solid var(--home-border); border-radius: 20px; background: var(--home-bg); }
.home-faq-intro > p { max-width: 360px; margin: 10px 0; color: var(--home-muted); font-size: 12px; line-height: 1.9; }
.home-contact-note { display: inline-block; margin-top: 7px; color: #795b0c; font-size: 10px; }
.home-faq-list { display: grid; gap: 8px; }
.home-faq-list details { padding: 0 15px; border: 1px solid var(--home-border); border-radius: 11px; background: white; }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; color: var(--home-navy); cursor: pointer; list-style: none; font-size: 12px; font-weight: 750; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary span { color: var(--home-blue); font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.home-faq-list details[open] summary span { transform: rotate(45deg); }
.home-faq-list details p { margin: 0; padding: 0 0 13px; color: var(--home-muted); font-size: 11px; line-height: 1.9; }

/* Footer */
.site-footer { background: var(--home-navy-deep); color: white; }
.footer-main { width: min(1280px, 100%); display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.1fr; gap: 38px; padding: 44px 24px 36px; margin: auto; }
.footer-brand { gap: 11px; }
.footer-brand img { width: 50px; height: 50px; object-fit: contain; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { color: white; font-size: 16px; font-weight: 850; }
.footer-brand small { margin-top: 3px; color: #b4c4d7; font-size: 9px; letter-spacing: .7px; }
.footer-academy p, .footer-contact p { max-width: 330px; margin: 14px 0; color: #cad5e2; font-size: 11px; line-height: 2; }
.footer-location { color: #f5c744; font-size: 11px; }
.footer-column, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h2, .footer-contact h2 { margin: 4px 0 4px; color: white; font-size: 13px; font-weight: 800; }
.footer-column a, .footer-contact a { color: #c6d2e0; font-size: 11px; transition: color .2s ease; }
.footer-column a:hover, .footer-contact a:hover { color: var(--home-gold); }
.footer-contact p { margin: 0; }
.footer-contact a { color: var(--home-gold); font-weight: 750; }
.footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px max(24px, calc((100% - 1232px) / 2)); border-top: 1px solid rgb(255 255 255 / 13%); color: #b7c5d6; font-size: 10px; }
.footer-bottom a { color: white; }

@media (max-width: 1120px) {
  .header-inner { gap: 13px; padding-inline: 17px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name strong { font-size: 13px; }
  .brand-name small { font-size: 9px; }
  .desktop-nav { gap: 9px; }
  .nav-link { font-size: 10px; }
  .header-actions { gap: 6px; }
  .header-login { padding-inline: 10px; font-size: 10px; }
  .home-slide-content { padding: 30px; }
  .home-two-column { gap: 13px; padding-inline: 17px; }
  .home-two-column > .home-section { padding-inline: 14px; }
  .home-news-feature { grid-template-columns: .8fr 1fr; }
  .home-news-feature img { height: 118px; }
}

@media (max-width: 980px) {
  .header-inner { min-height: 68px; }
  .desktop-nav { display: none; }
  .main-nav { flex: none; order: 3; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav > summary { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--home-border); border-radius: 10px; color: var(--home-navy); cursor: pointer; list-style: none; font-size: 11px; font-weight: 750; }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-menu-icon { display: grid; gap: 4px; }
  .mobile-menu-icon i { width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
  .mobile-nav-panel { position: absolute; top: 48px; right: 0; z-index: 10; width: min(260px, calc(100vw - 32px)); display: grid; padding: 7px; border: 1px solid var(--home-border); border-radius: 13px; background: white; box-shadow: var(--home-shadow); }
  .mobile-nav-panel a { padding: 11px 12px; border-radius: 8px; color: var(--home-text); font-size: 12px; }
  .mobile-nav-panel a:hover { background: var(--home-bg); }
  .home-quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-class-grid { gap: 11px; }
  .home-class-photo { height: 160px; }
  .home-two-column { grid-template-columns: 1fr; }
  .home-two-column > .home-section { padding: 22px; }
  .home-news-list { grid-template-columns: 1.2fr 1fr 1fr; }
  .home-news-feature { grid-row: span 3; grid-template-columns: 1fr; align-content: start; padding: 0 12px 0 0; border: 0; border-left: 1px solid var(--home-border); }
  .home-news-feature img { height: 165px; }
  .home-news-item { grid-template-columns: 66px 1fr; }
  .home-news-item img { width: 66px; height: 60px; }
  .home-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-faq-contact { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 64px; gap: 8px; padding: 7px 12px; }
  .brand { gap: 6px; }
  .brand-logo { width: 37px; height: 37px; }
  .brand-name strong { font-size: 11px; }
  .brand-name small { max-width: 126px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; }
  .header-actions { gap: 5px; margin-right: auto; }
  .header-search summary, .header-cart { width: 34px; height: 34px; border-radius: 9px; }
  .header-cart { font-size: 16px; }
  .header-login { min-height: 34px; gap: 4px; padding-inline: 8px; font-size: 9px; }
  .header-login span { display: none; }
  .mobile-nav > summary { width: 36px; min-height: 34px; justify-content: center; padding: 0; font-size: 0; }
  .mobile-menu-icon i { width: 15px; }
  .home-hero { width: calc(100% - 20px); height: 510px; margin-top: 10px; border-radius: 17px; }
  .home-slide { grid-template-columns: 1fr; grid-template-rows: 56% 44%; }
  .home-slide-photo { grid-row: 1; }
  .home-slide-photo::after { background: linear-gradient(180deg, transparent 48%, var(--home-navy) 100%); }
  .home-slide-photo img { object-position: center 42%; }
  .home-slide-content { grid-row: 2; justify-content: flex-start; padding: 7px 20px 24px; }
  .home-kicker { font-size: 10px; }
  .home-slide-content h1, .home-slide-content h2 { margin: 8px 0 5px; font-size: 23px; line-height: 1.48; }
  .home-slide-content p { font-size: 11px; line-height: 1.8; }
  .home-button { min-height: 38px; margin-top: 12px; padding-inline: 15px; font-size: 11px; }
  .home-slide-count { right: 13px; bottom: 14px; font-size: 10px; }
  .home-hero-arrow { top: 28%; width: 33px; height: 33px; font-size: 23px; }
  .home-hero-prev { right: 9px; }
  .home-hero-next { left: 9px; }
  .home-hero-dots { bottom: 15px; }
  .home-quick-links { width: calc(100% - 24px); gap: 8px; margin-top: 12px; }
  .home-quick-card { min-height: 70px; gap: 8px; padding: 9px; border-radius: 12px; }
  .home-quick-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
  .home-quick-card strong { font-size: 11px; }
  .home-quick-card small { font-size: 8px; }
  .home-quick-card > b { display: none; }
  .home-section { padding: 37px 16px; }
  .home-section-heading { align-items: flex-start; gap: 8px; margin-bottom: 15px; }
  .home-section-heading h2, .home-journey h2, .home-faq-contact h2 { font-size: 21px; }
  .home-section-heading p { font-size: 10px; }
  .home-eyebrow { font-size: 10px; }
  .home-text-link { margin-top: 23px; font-size: 9px; white-space: nowrap; }
  .home-classes { padding-top: 34px; padding-bottom: 36px; }
  .home-class-grid { grid-template-columns: 1fr; gap: 11px; }
  .home-class-photo { height: 190px; }
  .home-class-info h3 { font-size: 15px; }
  .home-exams-inner { padding-top: 34px; padding-bottom: 35px; }
  .home-exam-row { grid-template-columns: 36px 1fr auto; gap: 9px; padding: 12px; }
  .home-exam-icon { width: 34px; height: 34px; font-size: 17px; }
  .home-exam-row strong { font-size: 11px; }
  .home-exam-row small { font-size: 9px; }
  .home-exam-status { display: none; }
  .home-exam-row > a { font-size: 9px; }
  .home-journey { width: calc(100% - 20px); grid-template-columns: 1fr; gap: 4px; padding: 20px 17px; margin: 30px auto; border-radius: 17px; }
  .home-journey-art { min-height: 145px; grid-row: 2; }
  .home-journey-art::before { width: 130px; height: 130px; }
  .home-journey-art img { max-height: 170px; }
  .home-journey-content { grid-row: 1; }
  .home-journey-intro { font-size: 10px; }
  .home-journey-steps { grid-template-columns: 1fr; gap: 5px; }
  .home-journey-steps::before { top: 22px; right: 19px; left: auto; width: 2px; height: calc(100% - 45px); background: #c9d7e6; }
  .home-journey-steps li { grid-template-columns: 40px 1fr; gap: 10px; padding-top: 8px; }
  .home-journey-steps h3 { margin-top: 4px; font-size: 12px; }
  .home-journey-steps p { font-size: 9px; }
  .home-two-column { gap: 12px; padding-inline: 10px; }
  .home-two-column > .home-section { padding: 17px 12px; border-radius: 15px; }
  .home-two-column .home-section-heading h2 { font-size: 17px; }
  .home-two-column .home-section-heading { flex-wrap: wrap; }
  .home-two-column .home-text-link { margin-top: 10px; }
  .home-demo-note { margin-top: -7px; font-size: 9px; }
  .home-product-grid { gap: 7px; }
  .home-product-placeholder { min-height: 135px; padding: 8px 4px; }
  .home-product-placeholder strong { font-size: 14px; }
  .home-product-placeholder span, .home-product-placeholder small { font-size: 8px; }
  .home-product-info { padding: 7px; }
  .home-product-info h3 { min-height: 43px; font-size: 9px; }
  .home-product-info p, .home-product-info > div b, .home-product-info > div a { font-size: 8px; }
  .home-news-list { grid-template-columns: 1fr; gap: 10px; }
  .home-news-feature { grid-row: auto; grid-template-columns: 1fr; gap: 9px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--home-border); }
  .home-news-feature img { height: 180px; }
  .home-news-feature h3 { font-size: 12px; }
  .home-news-feature p { font-size: 9px; }
  .home-news-item { grid-template-columns: 58px 1fr; }
  .home-news-item img { width: 58px; height: 50px; }
  .home-news-item h3 { font-size: 9px; }
  .home-team { padding-top: 38px; padding-bottom: 40px; }
  .home-team-grid { gap: 9px; }
  .home-team-card img { height: 140px; }
  .home-team-card > div { min-height: 74px; padding: 9px; }
  .home-team-card h3 { font-size: 11px; }
  .home-team-card p { font-size: 8px; }
  .home-team-badge { top: 7px; right: 7px; padding: 4px 6px; font-size: 8px; }
  .home-faq-contact { width: calc(100% - 20px); gap: 15px; padding: 20px 15px; margin-bottom: 35px; border-radius: 16px; }
  .home-faq-intro > p { font-size: 10px; }
  .home-faq-list summary { min-height: 46px; font-size: 10px; }
  .home-faq-list details p { font-size: 9px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: 33px 18px 27px; }
  .footer-academy { grid-column: 1 / -1; }
  .footer-brand strong { font-size: 14px; }
  .footer-academy p, .footer-contact p { font-size: 9px; }
  .footer-column, .footer-contact { gap: 9px; }
  .footer-column h2, .footer-contact h2 { font-size: 11px; }
  .footer-column a, .footer-contact a { font-size: 9px; }
  .footer-bottom { justify-content: center; flex-wrap: wrap; padding: 12px; font-size: 8px; }
}

@media (max-width: 430px) {
  .header-cart { display: none; }
  .header-inner { gap: 6px; padding-inline: 10px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name strong { font-size: 10px; }
  .brand-name small { max-width: 86px; font-size: 7px; }
  .mobile-nav > summary { width: 32px; min-height: 32px; }
  .header-search summary { width: 32px; height: 32px; }
  .header-login { padding-inline: 6px; font-size: 8px; }
  .header-actions { gap: 4px; }
}

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

/* Homepage layout refinements */
.home-class-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-updates-band { width: min(1320px, 100%); margin: 0 auto; padding: 0 24px; }
.home-updates-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; direction: rtl; }
.home-updates-grid > * { min-width: 0; width: 100%; box-sizing: border-box; margin: 0; padding: 24px 20px; border: 1px solid var(--home-border); border-radius: 18px; background: #fff; box-shadow: 0 7px 26px rgb(16 43 78 / 5%); }
.home-updates-grid .home-section-heading { align-items: center; margin-bottom: 14px; }
.home-updates-grid .home-section-heading h2 { font-size: 21px; }
.home-updates-grid .home-section-heading p { margin-bottom: 0; }
.home-updates-exams .home-exam-row { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 12px; }
.home-updates-exams .home-exam-icon { width: 34px; height: 34px; }
.home-updates-exams .home-exam-status { grid-column: 2; margin-top: -3px; }
.home-updates-exams .home-exam-row > a { grid-column: 2; justify-self: start; }
.home-updates-grid .home-news-list { grid-template-columns: 1fr; }
.home-updates-grid .home-news-feature { grid-template-columns: minmax(110px, .9fr) 1fr; }
.home-store-standalone { width: min(1320px, 100%); margin: 0 auto; padding: 50px 24px 54px; }
.home-store-standalone .home-section-heading { margin-bottom: 16px; }
.home-store-standalone .home-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.home-store-standalone .home-product-card { border-radius: 16px; box-shadow: 0 7px 24px rgb(16 43 78 / 5%); transition: transform .2s ease, box-shadow .2s ease; }
.home-store-standalone .home-product-card:hover { transform: translateY(-4px); box-shadow: var(--home-shadow); }
.home-store-standalone .home-product-cover { height: 205px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 10px; background: linear-gradient(145deg, #f8fafc, #eef3f8); }
.home-store-standalone .home-product-cover img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-store-standalone .home-product-info { min-height: 143px; display: flex; flex-direction: column; }
.home-store-standalone .home-product-info h3 { font-size: 12px; }
.home-store-standalone .home-product-info > div { margin-top: auto; padding-top: 10px; }
.cover-green { background: linear-gradient(145deg, #539b78, #1c5c48); }
.home-slide-photo-badge { position: absolute; right: 22px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 999px; background: rgb(11 31 56 / 82%); color: white; font-size: 12px; font-weight: 750; box-shadow: 0 8px 22px rgb(0 0 0 / 18%); backdrop-filter: blur(8px); }
.home-slide-photo-badge::before { width: 8px; height: 8px; border-radius: 50%; background: var(--home-gold); content: ""; }
@media (max-width: 1120px) {
  .home-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-updates-band { padding-inline: 17px; }
  .home-updates-grid { gap: 13px; }
  .home-updates-grid > * { padding-inline: 15px; }
  .home-store-standalone { padding-inline: 20px; }
  .home-store-standalone .home-product-grid { gap: 12px; }
}
@media (max-width: 980px) {
  .home-updates-grid { grid-template-columns: 1fr; }
  .home-updates-grid > * { padding: 22px; }
  .home-updates-exams .home-exam-row { grid-template-columns: 42px minmax(0, 1.7fr) minmax(145px, .8fr) auto; }
  .home-updates-exams .home-exam-status, .home-updates-exams .home-exam-row > a { grid-column: auto; margin-top: 0; }
  .home-updates-exams .home-exam-icon { width: 40px; height: 40px; }
  .home-store-standalone .home-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-class-grid { grid-template-columns: 1fr; }
  .home-updates-band { padding-inline: 12px; }
  .home-updates-grid { gap: 12px; }
  .home-updates-grid > * { padding: 18px 14px; border-radius: 15px; }
  .home-updates-grid .home-section-heading { align-items: flex-start; flex-direction: column; }
  .home-updates-grid .home-news-feature { grid-template-columns: 1fr; }
  .home-updates-grid .home-news-feature img { height: 180px; }
  .home-updates-exams .home-exam-row { grid-template-columns: 34px 1fr; }
  .home-updates-exams .home-exam-status, .home-updates-exams .home-exam-row > a { grid-column: 2; }
  .home-store-standalone { padding: 34px 14px 40px; }
  .home-store-standalone .home-product-grid { grid-auto-columns: minmax(68%, 245px); grid-auto-flow: column; grid-template-columns: none; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .home-store-standalone .home-product-card { scroll-snap-align: start; }
  .home-store-standalone .home-product-cover { height: 175px; }
  .home-slide-photo-badge { right: 12px; bottom: 12px; padding: 7px 10px; font-size: 10px; }
}

/* Fourth exam banner and mobile class carousel */
.home-slide.home-slide-exam-registration { position: absolute; display: block; }
.home-slide-exam-registration .home-slide-photo { position: absolute; inset: 0; }
.home-slide-exam-registration .home-slide-photo::after { background: linear-gradient(90deg, rgb(11 31 56 / 3%) 28%, rgb(11 31 56 / 13%) 55%, rgb(11 31 56 / 33%) 100%); }
.home-slide-exam-registration .home-slide-photo img { object-position: center; }
.home-slide-exam-registration .home-slide-content { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; box-sizing: border-box; padding: clamp(24px, 5vw, 62px); }
.home-class-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .home-class-grid { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .home-class-card { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
  .home-class-photo { height: 190px; }
  .home-slide.home-slide-exam-registration { display: block; }
  .home-slide-exam-registration .home-slide-photo { position: absolute; inset: 0; grid-row: auto; }
  .home-slide-exam-registration .home-slide-photo::after { background: linear-gradient(180deg, rgb(11 31 56 / 5%) 22%, rgb(11 31 56 / 15%) 48%, rgb(11 31 56 / 96%) 100%); }
  .home-slide-exam-registration .home-slide-content { top: auto; right: 0; bottom: 0; width: 100%; height: 48%; justify-content: flex-start; padding: 14px 20px 34px; }
}
@media (max-width: 430px) {
  .home-class-card { flex-basis: 89%; }
  .home-slide-exam-registration .home-slide-content { height: 52%; padding-inline: 16px; }
}

/* Use the exact supplied Kanoon emblem and tighten homepage rhythm */
.home-kanoon-emblem { position: absolute; z-index: 3; top: 18px; left: 18px; width: 86px; height: 118px; min-height: 0; display: block; padding: 0; overflow: hidden; border: 0; border-radius: 5px; background: transparent; box-shadow: 0 8px 22px rgb(0 0 0 / 24%); }
.home-kanoon-emblem img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-section { padding-block: 38px; }
.home-section-heading { margin-bottom: 16px; }
.home-classes { padding-block: 34px 38px; }
.home-journey { margin-block: 22px; padding-block: 24px; }
.home-store-standalone { padding-block: 36px 40px; }
.home-team { padding-block: 38px 42px; }
.home-faq-contact { margin-bottom: 36px; padding-block: 30px; }
.home-quick-links { margin-top: 14px; margin-bottom: 0; }
@media (max-width: 1120px) {
  .home-section { padding-block: 33px; }
  .home-journey { margin-block: 18px; padding-block: 20px; }
  .home-store-standalone { padding-block: 31px 34px; }
  .home-team { padding-block: 32px 36px; }
}
@media (max-width: 600px) {
  .home-kanoon-emblem { position: absolute; z-index: 3; top: 12px; left: 12px; width: 68px; height: 96px; }
  .home-section { padding-block: 27px; }
  .home-section-heading { margin-bottom: 13px; }
  .home-classes { padding-block: 27px 29px; }
  .home-journey { margin-block: 14px; padding-block: 15px; }
  .home-store-standalone { padding-block: 25px 29px; }
  .home-team { padding-block: 27px 30px; }
  .home-faq-contact { margin-bottom: 24px; padding-block: 19px; }
  .home-quick-links { margin-top: 10px; }
}

/* Clearer emblem placement, redesigned journey, and compact section rhythm */
.home-kanoon-emblem { top: 50%; bottom: auto; left: 22px; width: 76px; height: 112px; padding: 8px 6px; transform: translateY(-50%); border: 1px solid rgb(16 43 78 / 10%); border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgb(0 0 0 / 26%); }
.home-kanoon-emblem img { object-fit: contain; }
.home-section { padding-block: 26px; }
.home-classes { padding-block: 23px 25px; }
.home-journey { position: relative; min-height: 0; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr); gap: 28px; margin-block: 12px; padding: 28px 30px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 26px; background: radial-gradient(circle at 7% 5%, rgb(245 184 0 / 15%), transparent 28%), linear-gradient(125deg, #0b1f38 0%, #12365a 58%, #17436a 100%); box-shadow: 0 18px 48px rgb(16 43 78 / 16%); }
.home-journey-art { min-height: 280px; padding: 8px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 22px; background: rgb(255 255 255 / 7%); }
.home-journey-art::before { width: 180px; height: 180px; background: rgb(245 184 0 / 17%); filter: blur(2px); }
.home-journey-art img { width: 100%; height: 280px; max-width: none; max-height: none; border-radius: 16px; object-fit: cover; }
.home-journey-content { position: relative; z-index: 1; }
.home-journey-content > .home-eyebrow { color: #ffd34f; font-size: 12px; letter-spacing: .1px; }
.home-journey h2 { color: #fff; font-size: clamp(25px, 2.8vw, 36px); }
.home-journey-intro { margin: 7px 0 19px; color: #c6d5e6; font-size: 12px; }
.home-journey-steps { gap: 12px; }
.home-journey-steps::before { top: 31px; right: 9%; left: 9%; height: 2px; background: linear-gradient(90deg, transparent, rgb(245 184 0 / 65%) 14%, rgb(245 184 0 / 65%) 86%, transparent); }
.home-journey-steps li { min-height: 145px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 13px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 17px; background: linear-gradient(150deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 4%)); box-shadow: inset 0 1px rgb(255 255 255 / 5%); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.home-journey-steps li:hover { transform: translateY(-4px); border-color: rgb(245 184 0 / 45%); background: linear-gradient(150deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 6%)); }
.home-journey-number { width: 38px; height: 38px; flex: 0 0 auto; border: 4px solid #173b5f; background: var(--home-gold); box-shadow: 0 0 0 1px rgb(245 184 0 / 50%); }
.home-journey-steps li > div { width: 100%; }
.home-journey-steps h3 { margin: 12px 0 5px; color: #fff; font-size: 14px; }
.home-journey-steps p { color: #c6d5e6; font-size: 11px; line-height: 1.9; }
.home-store-standalone { padding-block: 25px 28px; }
.home-team { padding-block: 25px 29px; }
.home-faq-contact { margin-bottom: 27px; padding-block: 24px; }
@media (max-width: 900px) {
  .home-journey { grid-template-columns: minmax(190px, .58fr) minmax(0, 1.42fr); gap: 18px; padding: 22px; }
  .home-journey-art, .home-journey-art img { min-height: 245px; height: 245px; }
  .home-journey-steps { gap: 8px; }
  .home-journey-steps li { min-height: 152px; padding: 11px; }
  .home-journey-steps h3 { font-size: 12px; }
}
@media (max-width: 600px) {
  .home-kanoon-emblem { top: 25%; bottom: auto; left: 12px; width: 56px; height: 82px; padding: 5px 4px; transform: translateY(-25%); border-radius: 9px; }
  .home-section { padding-block: 20px; }
  .home-classes { padding-block: 19px 21px; }
  .home-journey { width: calc(100% - 20px); display: grid; grid-template-columns: 1fr; gap: 13px; margin-block: 10px; padding: 19px 15px; border-radius: 20px; }
  .home-journey-content { grid-row: 1; }
  .home-journey-art { grid-row: 2; min-height: 150px; height: 150px; }
  .home-journey-art img { min-height: 0; height: 150px; object-position: center 45%; }
  .home-journey-art::before { width: 110px; height: 110px; }
  .home-journey-intro { margin-bottom: 13px; font-size: 10px; }
  .home-journey-steps { grid-template-columns: 1fr; gap: 8px; }
  .home-journey-steps::before { top: 28px; right: 32px; left: auto; width: 2px; height: calc(100% - 56px); background: linear-gradient(180deg, rgb(245 184 0 / 75%), rgb(245 184 0 / 20%)); }
  .home-journey-steps li { min-height: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 10px; padding: 11px; }
  .home-journey-number { width: 38px; height: 38px; }
  .home-journey-steps h3 { margin: 3px 0 4px; font-size: 12px; }
  .home-journey-steps p { font-size: 10px; }
  .home-store-standalone { padding-block: 21px 24px; }
  .home-team { padding-block: 21px 24px; }
  .home-faq-contact { margin-bottom: 20px; padding-block: 18px; }
}

/* Give educational news the lead position and two-thirds of the updates row. */
.home-kanoon-emblem { top: 32%; }
.home-updates-grid { grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); }
.home-updates-grid .home-news-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
.home-updates-grid .home-news-feature { grid-template-columns: minmax(170px, .85fr) minmax(0, 1.15fr); gap: 15px; align-items: center; padding: 12px; border: 1px solid var(--home-border); border-radius: 14px; background: linear-gradient(115deg, #f7faff, #fff); }
.home-updates-grid .home-news-feature img { height: 165px; margin: 0; }
.home-news-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-news-cards .home-news-item { min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 10px; overflow: hidden; padding: 8px; border: 1px solid var(--home-border); border-radius: 13px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.home-news-cards .home-news-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgb(16 43 78 / 9%); }
.home-news-cards .home-news-item img { width: 58px; height: 50px; border-radius: 9px; object-fit: cover; }
.home-news-cards .home-news-item > div { min-width: 0; padding: 0; }
.home-news-cards .home-news-item > div > span { font-size: 9px; }
.home-news-cards .home-news-item h3 { margin: 4px 0 6px; font-size: 11px; line-height: 1.75; }
.home-news-cards .home-news-item small { font-size: 9px; }
@media (max-width: 980px) {
  .home-updates-grid { grid-template-columns: 1fr; }
  .home-news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-kanoon-emblem { top: 14%; }
  .home-updates-grid { grid-template-columns: 1fr; }
  .home-updates-grid .home-news-feature { grid-template-columns: 1fr; }
  .home-updates-grid .home-news-feature img { height: 180px; }
  .home-news-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-news-cards .home-news-item { grid-template-columns: 50px minmax(0, 1fr); gap: 8px; padding: 7px; }
  .home-news-cards .home-news-item img { width: 50px; height: 46px; }
  .home-news-cards .home-news-item h3 { font-size: 10px; }
}

/* Demo-ready onboarding, sample resources, progress examples, and inquiry form */
.home-resources { padding-block: 20px 24px; }
.home-demo-badge, .home-progress-tag { display: inline-flex; align-items: center; width: fit-content; padding: 6px 10px; border: 1px solid #f0d992; border-radius: 999px; background: #fff8e5; color: #755700; font-size: 10px; font-weight: 750; }
.home-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-resource-card { min-width: 0; overflow: hidden; border: 1px solid var(--home-border); border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgb(16 43 78 / 4%); }
.home-resource-card > summary { min-height: 78px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; align-items: center; gap: 11px; padding: 12px 14px; cursor: pointer; list-style: none; }
.home-resource-card > summary::-webkit-details-marker { display: none; }
.home-resource-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #edf4fa; color: var(--home-blue); font-size: 19px; font-weight: 800; }
.home-resource-card > summary strong, .home-resource-card > summary small { display: block; }
.home-resource-card > summary strong { color: var(--home-navy); font-size: 12px; }
.home-resource-card > summary small { margin-top: 4px; color: var(--home-muted); font-size: 10px; line-height: 1.6; }
.home-resource-card > summary > b { color: var(--home-blue); font-size: 20px; font-weight: 500; transition: transform .2s ease; }
.home-resource-card[open] > summary > b { transform: rotate(45deg); }
.home-resource-content { padding: 0 16px 15px; color: var(--home-muted); font-size: 11px; line-height: 1.9; }
.home-resource-content p { margin: 0 0 7px; }
.home-resource-content details { padding-top: 6px; border-top: 1px solid var(--home-border); }
.home-resource-content details summary { color: var(--home-blue); cursor: pointer; font-weight: 750; }
.home-progress { padding-block: 22px 26px; }
.home-progress-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-progress-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 17px; border: 1px solid var(--home-border); border-radius: 16px; background: linear-gradient(145deg, #fff, #f6f9fc); }
.home-progress-card strong { color: var(--home-navy); font-size: 25px; font-weight: 850; direction: ltr; }
.home-progress-card strong i { padding-inline: 6px; color: var(--home-gold); font-size: 18px; font-style: normal; }
.home-progress-card h3 { margin: 0; color: var(--home-navy); font-size: 13px; }
.home-progress-card p, .home-progress-card blockquote { margin: 0; color: var(--home-muted); font-size: 11px; line-height: 1.8; }
.home-progress-card blockquote { padding: 0; border: 0; }
.home-progress-card > p:last-child { margin-top: auto; }
.home-faq-contact { align-items: start; }
.home-faq-intro { min-width: 0; }
.home-demo-contact { display: grid; gap: 6px; margin: 13px 0; padding: 12px; border: 1px dashed #d8c27b; border-radius: 12px; background: #fffaf0; color: #6f5a20; font-size: 10px; line-height: 1.7; }
.home-demo-contact strong { color: var(--home-navy); font-size: 11px; }
.home-consultation-form { display: grid; gap: 9px; padding: 14px; border: 1px solid var(--home-border); border-radius: 14px; background: #fff; }
.home-form-title { color: var(--home-navy); font-size: 13px; font-weight: 800; }
.home-consultation-form label { display: grid; gap: 4px; color: var(--home-text); font-size: 10px; font-weight: 700; }
.home-consultation-form input, .home-consultation-form select { width: 100%; min-height: 39px; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--home-border); border-radius: 9px; background: #fff; color: var(--home-text); font: inherit; font-size: 11px; }
.home-consultation-form input:focus, .home-consultation-form select:focus { outline: 3px solid rgb(36 91 145 / 16%); border-color: var(--home-blue); }
.home-consultation-form button { min-height: 42px; border: 0; border-radius: 10px; background: var(--home-navy); color: #fff; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.home-consultation-form button:hover { background: var(--home-blue); }
.home-consultation-form > small { color: var(--home-muted); font-size: 9px; line-height: 1.8; }
.home-form-status { margin: 0; padding: 9px; border-radius: 9px; background: #eaf6ef; color: #24633b; font-size: 10px; line-height: 1.8; }
.home-faq-list { min-width: 0; }
@media (max-width: 900px) {
  .home-resource-grid { grid-template-columns: 1fr; }
  .home-progress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-resources, .home-progress { padding-block: 18px 20px; }
  .home-resource-grid, .home-progress-grid { grid-template-columns: 1fr; gap: 9px; }
  .home-progress-card { padding: 14px; }
  .home-faq-contact { width: calc(100% - 20px); grid-template-columns: 1fr; gap: 15px; padding: 18px 14px; }
  .home-consultation-form { padding: 12px; }
}

/* Keep classes before free resources, and align consultation content in one row. */
.home-faq-contact { grid-template-columns: minmax(0, .82fr) minmax(260px, .95fr) minmax(0, 1.23fr); align-items: start; gap: 16px; padding: 24px; }
.home-faq-contact .home-faq-intro, .home-faq-contact .home-consultation-form, .home-faq-contact .home-faq-list { min-width: 0; }
.home-faq-contact .home-faq-intro h2 { font-size: clamp(20px, 2vw, 26px); }
@media (max-width: 900px) {
  .home-faq-contact { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .home-faq-contact { padding: 18px 14px; }
}


