/* Education Consultancy page (/education-consultancy). Brand: navy #001f5b, gold #f5a623.
   After editing, change ?v= in EducationConsultancy.aspx so visitors get the new file. */

.ecx { --navy:#001f5b; --navy2:#0a2f7a; --gold:#f5a623; --gold2:#e09415; --ink:#1d2939; --muted:#5b6475;
       --line:#e3e8f0; --soft:#f5f7fb; --card:#fff; --ok:#16a34a; --wa:#25d366;
       font-family:'DM Sans','Roboto',sans-serif; color:var(--ink); }
.ecx *, .ecx *::before, .ecx *::after { box-sizing:border-box; }
.ecx h1, .ecx h2, .ecx h3 { font-family:'DM Sans','Roboto',sans-serif; color:var(--navy); letter-spacing:-.01em; }
.ecx a { text-decoration:none; }
.ecx-wrap { max-width:1180px; margin:0 auto; padding:0 16px; }
.ecx-sec { padding:64px 0; scroll-margin-top:170px; }
.ecx-sec.alt { background:var(--soft); }
.ecx-head { max-width:720px; margin:0 0 32px; }
.ecx-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.ecx-eyebrow { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--gold2); margin-bottom:10px; }
.ecx-head h2 { font-size:32px; font-weight:800; line-height:1.2; margin:0 0 12px; }
.ecx-head p { font-size:16px; line-height:1.7; color:var(--muted); margin:0; }

/* ---------- HERO ---------- */
.ecx-hero { position:relative; overflow:hidden; color:#fff; padding:56px 0 64px;
    background:radial-gradient(1200px 500px at 85% -10%, rgba(245,166,35,.22), transparent 60%),
               radial-gradient(800px 400px at -10% 110%, rgba(80,140,255,.25), transparent 60%),
               linear-gradient(135deg,#001544 0%,#001f5b 45%,#0a3489 100%); }
.ecx-hero::after { content:''; position:absolute; inset:0; pointer-events:none; opacity:.08;
    background-image:linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px);
    background-size:48px 48px; mask-image:linear-gradient(180deg,#000,transparent 85%); -webkit-mask-image:linear-gradient(180deg,#000,transparent 85%); }
.ecx-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.25fr .9fr; gap:48px; align-items:center; }
.ecx-crumb { font-size:13px; color:#b9c8e8; margin-bottom:18px; }
.ecx-crumb a { color:#dbe5fb; }
.ecx-crumb a:hover { color:var(--gold); }
.ecx-crumb span { margin:0 6px; opacity:.6; }
.ecx-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
    padding:6px 14px; border-radius:999px; font-size:13px; font-weight:600; color:#fff; margin-bottom:18px; }
.ecx-badge i { color:var(--gold); }
.ecx-hero h1 { color:#fff; font-size:46px; line-height:1.12; font-weight:800; margin:0 0 18px; }
.ecx-hero h1 em { font-style:normal; color:var(--gold); }
.ecx-hero .ecx-lead { font-size:17px; line-height:1.7; color:#d3ddf3; margin:0 0 26px; max-width:620px; }
.ecx-search { display:flex; background:#fff; border-radius:14px; padding:6px; max-width:600px; box-shadow:0 18px 40px rgba(0,0,0,.25); }
.ecx-search input { flex:1; min-width:0; border:0; outline:0; padding:12px 14px; font-size:15px; color:var(--ink); background:transparent; font-family:inherit; }
.ecx-search button { border:0; background:var(--gold); color:var(--navy); font-weight:700; font-size:15px; padding:0 22px; border-radius:10px; cursor:pointer; font-family:inherit; white-space:nowrap; }
.ecx-search button:hover { background:var(--gold2); }
.ecx-quick { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.ecx-quick a { font-size:13px; font-weight:600; color:#e6edfc; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); padding:6px 12px; border-radius:999px; }
.ecx-quick a:hover { background:rgba(245,166,35,.2); border-color:var(--gold); color:#fff; }
.ecx-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:34px; max-width:620px; }
.ecx-stat { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius:14px; padding:14px; }
.ecx-stat b { display:block; font-size:24px; font-weight:800; color:var(--gold); line-height:1.1; }
.ecx-stat span { font-size:12.5px; color:#c4d1ee; }

/* lead card */
.ecx-form { background:#fff; color:var(--ink); border-radius:20px; padding:28px; box-shadow:0 30px 60px rgba(0,10,40,.35); }
.ecx-form h2 { font-size:22px; font-weight:800; margin:0 0 6px; }
.ecx-form .sub { font-size:14px; color:var(--muted); margin:0 0 18px; }
.ecx-form .row2 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ecx-form input[type=text], .ecx-form input[type=tel], .ecx-form input[type=email], .ecx-form select {
    width:100%; height:46px; border:1.5px solid var(--line); border-radius:10px; padding:0 12px; font-size:14.5px; margin-bottom:10px;
    color:var(--ink); background:#fff; font-family:inherit; }
.ecx-form input:focus, .ecx-form select:focus { outline:0; border-color:var(--navy); box-shadow:0 0 0 3px rgba(0,31,91,.1); }
.ecx-form .btn-go { width:100%; height:50px; border:0; border-radius:12px; background:linear-gradient(135deg,var(--gold),var(--gold2));
    color:var(--navy); font-weight:800; font-size:16px; cursor:pointer; font-family:inherit; margin-top:4px; }
.ecx-form .btn-go:hover { filter:brightness(.97); }
.ecx-form .err { display:block; color:#dc2626; font-size:13px; margin-top:8px; text-align:center; }
.ecx-form .note { font-size:12.5px; color:var(--muted); margin:12px 0 0; text-align:center; }
.ecx-form .alt-row { display:flex; gap:8px; margin-top:14px; }
.ecx-form .alt-row a { flex:1; text-align:center; font-size:13.5px; font-weight:700; padding:10px; border-radius:10px; border:1.5px solid var(--line); color:var(--navy); }
.ecx-form .alt-row a.wa { border-color:var(--wa); color:#128c4a; }
.ecx-form .alt-row a:hover { background:var(--soft); }
.ecx-ok { text-align:center; padding:18px 6px; }
.ecx-ok i { font-size:44px; color:var(--ok); }
.ecx-ok h3 { font-size:20px; margin:10px 0 6px; }
.ecx-ok p { color:var(--muted); font-size:14px; margin:0; }

/* ---------- SECTION NAV ---------- */
.ecx-nav { background:#fff; border-bottom:1px solid var(--line); box-shadow:0 4px 18px rgba(0,31,91,.04); }
.ecx-nav .ecx-wrap { display:flex; gap:6px; overflow-x:auto; padding-top:10px; padding-bottom:10px; scrollbar-width:none; }
.ecx-nav .ecx-wrap::-webkit-scrollbar { display:none; }
.ecx-nav a { flex:0 0 auto; font-size:14px; font-weight:600; color:var(--navy); padding:8px 14px; border-radius:999px; }
.ecx-nav a:hover { background:var(--soft); color:var(--navy); }

/* ---------- CARDS / GRIDS ---------- */
.ecx-grid { display:grid; gap:18px; }
.g2 { grid-template-columns:repeat(2,1fr); } .g3 { grid-template-columns:repeat(3,1fr); } .g4 { grid-template-columns:repeat(4,1fr); }
.ecx-card { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:24px; transition:transform .2s, box-shadow .2s, border-color .2s; }
.ecx-card:hover { transform:translateY(-3px); box-shadow:0 16px 36px rgba(0,31,91,.1); border-color:#cdd7ea; }
.ecx-ico { width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:21px;
    background:linear-gradient(135deg,#eef3ff,#e2eaff); color:var(--navy); margin-bottom:14px; }
.ecx-card h3 { font-size:18px; font-weight:700; margin:0 0 8px; }
.ecx-card p { font-size:14.5px; line-height:1.65; color:var(--muted); margin:0; }
.ecx-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.ecx-links a { font-size:13px; font-weight:600; color:var(--navy); background:var(--soft); border:1px solid var(--line); padding:6px 11px; border-radius:999px; }
.ecx-links a:hover { background:var(--navy); color:#fff; border-color:var(--navy); }
.ecx-more { display:inline-flex; align-items:center; gap:6px; font-weight:700; color:var(--navy); margin-top:14px; font-size:14.5px; }
.ecx-more:hover { color:var(--gold2); }

/* state focus (Jharkhand / Bihar) */
.ecx-focus { position:relative; overflow:hidden; border-radius:22px; padding:30px; color:#fff;
    background:linear-gradient(135deg,#001f5b,#0a3489); border:0; }
.ecx-focus.bihar { background:linear-gradient(135deg,#3b1d6e,#5b2aa8); }
.ecx-focus::after { content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%; background:rgba(245,166,35,.15); }
.ecx-focus h3 { color:#fff; font-size:24px; margin:0 0 10px; position:relative; }
.ecx-focus p { color:#d7e0f5; font-size:15px; line-height:1.7; margin:0 0 6px; position:relative; }
.ecx-focus ul { margin:12px 0 0; padding:0; list-style:none; position:relative; }
.ecx-focus li { font-size:14.5px; color:#eef2fb; padding:5px 0 5px 26px; position:relative; line-height:1.55; }
.ecx-focus li::before { content:'\f00c'; font-family:FontAwesome; position:absolute; left:0; top:6px; color:var(--gold); }
.ecx-focus .ecx-links a { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.22); color:#fff; }
.ecx-focus .ecx-links a:hover { background:var(--gold); border-color:var(--gold); color:var(--navy); }

.ecx-states { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.ecx-states a { display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:11px 12px;
    font-size:14px; font-weight:600; color:var(--navy); }
.ecx-states a i { color:var(--gold2); }
.ecx-states a:hover { border-color:var(--navy); box-shadow:0 8px 20px rgba(0,31,91,.08); }
.ecx-subh { font-size:19px; font-weight:700; margin:36px 0 14px; }

/* exams */
.ecx-exams { display:flex; flex-wrap:wrap; gap:10px; }
.ecx-exams a { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1.5px solid var(--line); border-radius:12px; padding:10px 14px; font-weight:700; font-size:14.5px; color:var(--navy); }
.ecx-exams a i { color:var(--gold2); }
.ecx-exams a:hover { border-color:var(--gold); background:#fffaf0; }
.ecx-tool { display:flex; gap:14px; align-items:flex-start; }
.ecx-tool .ecx-ico { flex-shrink:0; margin:0; }

/* services from DB */
.ecx-svc { display:flex; flex-direction:column; }
.ecx-svc p { flex:1; }
.ecx-fee { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; padding-top:14px; border-top:1px dashed var(--line); }
.ecx-fee b { font-size:14px; color:var(--navy); }
.ecx-fee a { font-size:13.5px; font-weight:700; color:#fff; background:var(--navy); padding:8px 14px; border-radius:10px; }
.ecx-fee a:hover { background:var(--navy2); color:#fff; }

/* steps */
.ecx-steps { counter-reset:st; }
.ecx-step { position:relative; padding-top:58px; }
.ecx-step::before { counter-increment:st; content:counter(st); position:absolute; top:22px; left:24px; width:30px; height:30px; border-radius:50%;
    background:var(--gold); color:var(--navy); font-weight:800; font-size:15px; display:flex; align-items:center; justify-content:center; }

/* why */
.ecx-why { display:grid; grid-template-columns:1fr 1fr; gap:14px 28px; }
.ecx-why div { display:flex; gap:12px; font-size:15px; line-height:1.6; color:var(--ink); }
.ecx-why i { color:var(--ok); margin-top:4px; }
.ecx-honest { margin-top:26px; background:#fffaf0; border:1px solid #f6dfae; border-radius:16px; padding:18px 20px; font-size:14.5px; line-height:1.7; color:#5a4a20; }
.ecx-honest b { color:#7a5500; }

/* faq */
.ecx-faq { max-width:880px; margin:0 auto; }
.ecx-faq details { background:#fff; border:1px solid var(--line); border-radius:14px; margin-bottom:10px; overflow:hidden; }
.ecx-faq summary { list-style:none; cursor:pointer; padding:18px 52px 18px 20px; position:relative; }
.ecx-faq summary::-webkit-details-marker { display:none; }
.ecx-faq summary::after { content:'+'; position:absolute; right:20px; top:50%; transform:translateY(-50%); font-size:24px; font-weight:400; color:var(--gold2); }
.ecx-faq details[open] summary::after { content:'\2212'; }
.ecx-faq summary h3 { font-size:16px; font-weight:700; margin:0; display:inline; }
.ecx-faq .ans { padding:0 20px 18px; font-size:15px; line-height:1.75; color:var(--muted); }
.ecx-faq .ans a { color:var(--navy); font-weight:600; text-decoration:underline; }

/* city links (CityPages.LinksHtml) */
.ecx-cities { display:flex; flex-wrap:wrap; gap:8px; }
.ecx-cities a { font-size:13.5px; font-weight:600; color:var(--navy); background:#fff; border:1px solid var(--line); padding:7px 12px; border-radius:999px; }
.ecx-cities a:hover { border-color:var(--navy); }

/* cta */
.ecx-cta { border-radius:24px; padding:44px 36px; text-align:center; color:#fff;
    background:radial-gradient(600px 240px at 90% 0%, rgba(245,166,35,.25), transparent 60%), linear-gradient(135deg,#001f5b,#0a3489); }
.ecx-cta h2 { color:#fff; font-size:30px; margin:0 0 10px; }
.ecx-cta p { color:#d3ddf3; font-size:16px; margin:0 0 24px; }
.ecx-btns { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.ecx-btn { display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:12px; font-weight:700; font-size:15px; }
.ecx-btn.gold { background:var(--gold); color:var(--navy); }
.ecx-btn.ghost { background:rgba(255,255,255,.1); color:#fff; border:1.5px solid rgba(255,255,255,.3); }
.ecx-btn.wa { background:var(--wa); color:#fff; }
.ecx-btn:hover { filter:brightness(1.05); transform:translateY(-1px); }

/* mobile bar */
.ecx-bar { display:none; position:fixed; left:0; right:0; bottom:0; z-index:1200; background:#001f5b; padding:8px 10px; gap:8px; box-shadow:0 -6px 20px rgba(0,0,0,.2); }
.ecx-bar a { flex:1; text-align:center; padding:11px 6px; border-radius:10px; font-size:14px; font-weight:700; }
.ecx-bar .c { background:var(--gold); color:var(--navy); }
.ecx-bar .w { background:var(--wa); color:#fff; }
.ecx-bar .b { background:rgba(255,255,255,.14); color:#fff; }

@media (max-width:1100px) { .ecx-states { grid-template-columns:repeat(4,1fr); } }
@media (max-width:991px) {
    .ecx-hero-grid { grid-template-columns:1fr; gap:32px; }
    .ecx-hero h1 { font-size:36px; }
    .g4 { grid-template-columns:repeat(2,1fr); } .g3 { grid-template-columns:repeat(2,1fr); }
    .ecx-states { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:767px) {
    .ecx-sec { padding:44px 0; }
    .ecx-hero { padding:30px 0 40px; }
    .ecx-hero h1 { font-size:29px; }
    .ecx-hero .ecx-lead { font-size:15.5px; }
    .ecx-head h2 { font-size:25px; }
    .ecx-stats { grid-template-columns:repeat(2,1fr); }
    .g2, .g3, .g4 { grid-template-columns:1fr; }
    .ecx-why { grid-template-columns:1fr; }
    .ecx-states { grid-template-columns:repeat(2,1fr); }
    .ecx-form { padding:22px 18px; }
    .ecx-form .row2 { grid-template-columns:1fr; gap:0; }
    .ecx-search button { padding:0 14px; }
    .ecx-cta { padding:32px 18px; }
    .ecx-bar { display:flex; }
    body { padding-bottom:64px; }
}
