/*
Theme Name: EduInject
Theme URI: https://www.eduinject.in/
Author: EduInject
Description: Responsive education and career portal theme with multilingual UI, student services, chatbot lead capture and contact form.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: eduinject
*/

    :root {
      --primary: #494dbb;
      --primary-dark: #34378f;
      --purple: #777cf0;
      --ink: #1d2340;
      --muted: #69718a;
      --light: #f6f7ff;
      --white: #ffffff;
      --border: #e7e9f5;
      --shadow: 0 12px 36px rgba(50, 55, 130, .09);
      --radius: 18px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; scroll-padding-top: 90px; }

    body {
      font-family: Inter, Arial, sans-serif;
      color: var(--ink);
      background: #fff;
      line-height: 1.65;
    }

    a { color: inherit; text-decoration: none; }
    button, input, textarea, select { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    img { max-width: 100%; }

    .container { width: min(1160px, 92%); margin: auto; }

    .topbar {
      background: #282c75;
      color: white;
      text-align: center;
      padding: 8px 12px;
      font-size: 12px;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }

    .navbar {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .logo {
      width: 44px;
      height: 44px;
      display: block;
      object-fit: contain;
      border-radius: 10px;
      flex-shrink: 0;
    }

    .brand-name { font-size: 23px; font-weight: 800; letter-spacing: -1px; }
    .brand-name span { color: var(--primary); }
    .brand-sub { color: var(--muted); font-size: 10px; margin-top: -5px; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 23px;
    }

    .nav-links a {
      font-size: 13px;
      font-weight: 600;
      transition: color .2s;
    }

    .nav-links a:hover { color: var(--primary); }

    .nav-actions { display: flex; align-items: center; gap: 10px; }

    .language-select {
      border: 1px solid var(--border);
      border-radius: 9px;
      padding: 9px 7px;
      background: white;
      color: var(--ink);
      max-width: 120px;
      font-size: 12px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 0;
      cursor: pointer;
      padding: 12px 19px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 700;
      transition: transform .2s, box-shadow .2s, background .2s;
    }

    .btn:hover { transform: translateY(-2px); }

    .btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 6px 16px #494dbb2e;
    }

    .btn-primary:hover { background: var(--primary-dark); }
    .btn-outline { border: 1px solid var(--border); background: white; color: var(--primary); }
    .menu-toggle { display: none; background: transparent; border: 0; font-size: 27px; cursor: pointer; }

    .hero {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 90% 20%, #dfe1ff 0, transparent 29%),
        radial-gradient(circle at 8% 90%, #e9f7ff 0, transparent 25%),
        linear-gradient(135deg, #f9faff, #f0f1ff);
      padding: 88px 0 76px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 54px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #e7e8ff;
      color: var(--primary);
      border-radius: 30px;
      padding: 7px 13px;
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    h1 {
      font-size: clamp(38px, 5vw, 61px);
      letter-spacing: -2.6px;
      line-height: 1.12;
      margin-bottom: 22px;
    }

    h1 span {
      color: var(--primary);
      background: linear-gradient(90deg, #494dbb, #8885f5);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-copy { color: var(--muted); max-width: 580px; font-size: 16px; margin-bottom: 28px; }

    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

    .hero-note { margin-top: 23px; color: var(--muted); font-size: 12px; }

    .hero-art {
      min-height: 370px;
      position: relative;
      display: grid;
      place-items: center;
    }

    .art-circle {
      width: min(330px, 85%);
      aspect-ratio: 1;
      border-radius: 50%;
      background: linear-gradient(145deg, #dadcff, #f5f5ff);
      display: grid;
      place-items: center;
      position: relative;
      box-shadow: inset -15px -15px 40px #b7bbf833;
    }

    .book {
      width: 155px;
      height: 190px;
      background: linear-gradient(135deg, #494dbb, #777cf0);
      border-radius: 12px 20px 20px 12px;
      transform: rotate(-9deg);
      box-shadow: 18px 20px 0 #33378d25, 0 24px 40px #494dbb3d;
      color: white;
      padding: 25px 18px;
      position: relative;
    }

    .book:before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 12px;
      border-left: 2px solid #ffffff60;
    }

    .book-icon { font-size: 39px; text-align: center; margin: 10px 0; }
    .book-label { text-align: center; font-weight: 800; font-size: 16px; }
    .book-small { text-align: center; font-size: 10px; opacity: .85; }

    .float-card {
      position: absolute;
      background: white;
      border: 1px solid #fff;
      border-radius: 14px;
      padding: 13px 16px;
      box-shadow: var(--shadow);
      animation: float 4s ease-in-out infinite;
    }

    .float-card strong { display: block; font-size: 13px; }
    .float-card small { color: var(--muted); font-size: 11px; }
    .float-one { top: 28px; left: 0; }
    .float-two { right: 0; bottom: 35px; animation-delay: -2s; }
    .float-emoji { font-size: 19px; margin-right: 6px; }

    .stats { border-bottom: 1px solid var(--border); background: white; }
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 25px 0; gap: 15px; }
    .stat { text-align: center; border-right: 1px solid var(--border); }
    .stat:last-child { border-right: 0; }
    .stat strong { font-size: 23px; color: var(--primary); display: block; }
    .stat span { color: var(--muted); font-size: 12px; }

    section { padding: 78px 0; }

    .section-head { text-align: center; max-width: 690px; margin: 0 auto 38px; }
    .section-kicker { color: var(--primary); text-transform: uppercase; font-weight: 800; font-size: 11px; letter-spacing: 1.5px; }
    h2 { font-size: clamp(28px, 3vw, 39px); line-height: 1.25; letter-spacing: -1.2px; margin: 10px 0 13px; }
    .section-head p { color: var(--muted); font-size: 14px; }

    .search-row {
      display: flex;
      gap: 12px;
      max-width: 650px;
      margin: 0 auto 30px;
    }

    .search-box {
      display: flex;
      flex: 1;
      gap: 9px;
      align-items: center;
      background: white;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0 15px;
    }

    .search-box input { width: 100%; min-width: 0; border: 0; outline: none; padding: 14px 0; background: transparent; }

    .services-section { background: #fafaff; }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }

    .service-card {
      padding: 23px 20px;
      border: 1px solid var(--border);
      background: white;
      border-radius: var(--radius);
      transition: transform .25s, box-shadow .25s, border-color .25s;
      display: flex;
      flex-direction: column;
      min-height: 220px;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow);
      border-color: #c7caff;
    }

    .service-icon {
      width: 49px;
      height: 49px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: #eff0ff;
      font-size: 25px;
      margin-bottom: 17px;
    }

    .service-card h3 { font-size: 15px; margin-bottom: 8px; line-height: 1.4; }
    .service-card p { color: var(--muted); font-size: 12px; flex: 1; }
    .service-link { color: var(--primary); font-size: 12px; font-weight: 800; margin-top: 15px; }
    .service-card[hidden] { display: none; }

    .about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; }
    .about-panel { background: linear-gradient(145deg, #494dbb, #777cf0); color: white; border-radius: 24px; padding: 36px; min-height: 330px; }
    .about-panel .big-emoji { font-size: 65px; }
    .about-panel h3 { font-size: 25px; line-height: 1.3; margin: 22px 0 12px; }
    .about-panel p { font-size: 13px; opacity: .88; }

    .about-copy > p { color: var(--muted); font-size: 14px; margin: 13px 0 22px; }

    .benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
    .benefit { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; font-weight: 600; }
    .check { color: var(--primary); font-size: 18px; }

    .steps-section { background: #f7f8ff; }
    .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .step { text-align: center; padding: 28px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
    .step-number { width: 47px; height: 47px; display: grid; place-items: center; margin: 0 auto 16px; background: #e9eaff; color: var(--primary); border-radius: 15px; font-weight: 800; font-size: 18px; }
    .step h3 { font-size: 16px; margin-bottom: 8px; }
    .step p { font-size: 12px; color: var(--muted); }

    .download-section { padding: 25px 0 75px; }
    .download-banner {
      border-radius: 25px;
      background: linear-gradient(115deg, #30347f, #575bd0);
      color: white;
      padding: 47px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 25px;
    }
    .download-banner h2 { margin-top: 0; }
    .download-banner p { color: #e0e2ff; font-size: 13px; max-width: 600px; }
    .download-banner .btn { background: white; color: var(--primary); white-space: nowrap; }

    .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; }
    .contact-copy p { color: var(--muted); font-size: 14px; margin: 13px 0; }
    .contact-details { margin-top: 24px; display: grid; gap: 13px; font-size: 13px; }
    .contact-form { padding: 27px; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .field { margin-bottom: 15px; }
    .field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
    .field input, .field textarea, .field select {
      width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 12px; outline: none; background: #fff; color: var(--ink);
    }
    .field input:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px #777cf01c; }
    .field textarea { min-height: 115px; resize: vertical; }
    .form-note { font-size: 11px; color: var(--muted); margin-top: 10px; }

    footer { background: #1f234a; color: white; padding: 44px 0 20px; }
    .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
    footer .brand-sub { color: #c6c9e5; }
    .footer-about { color: #c6c9e5; font-size: 12px; margin-top: 15px; max-width: 280px; }
    footer h4 { font-size: 13px; margin-bottom: 13px; }
    footer .footer-links { display: grid; gap: 8px; }
    footer .footer-links a { color: #c6c9e5; font-size: 12px; }
    footer .footer-links a:hover { color: white; }
    .copyright { border-top: 1px solid #ffffff22; margin-top: 32px; padding-top: 18px; color: #c6c9e5; font-size: 11px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

    .chat-launch {
      position: fixed; right: 23px; bottom: 23px; z-index: 1100;
      width: 59px; height: 59px; border-radius: 50%;
      background: var(--primary); color: white; border: 0; cursor: pointer;
      box-shadow: 0 8px 25px #494dbb66; font-size: 25px;
    }

    .chat-panel {
      position: fixed; right: 23px; bottom: 94px; z-index: 1100;
      width: min(355px, calc(100vw - 30px)); height: 430px;
      background: white; border-radius: 18px; border: 1px solid var(--border);
      box-shadow: 0 18px 60px #1b205333; display: none; overflow: hidden;
    }

    .chat-panel.open { display: flex; flex-direction: column; animation: pop .2s ease-out; }
    .chat-head { background: var(--primary); color: white; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
    .chat-head strong { font-size: 14px; display: block; }
    .chat-head small { font-size: 10px; opacity: .8; }
    .chat-close { color: white; background: transparent; border: 0; cursor: pointer; font-size: 23px; }
    .chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #fafaff; }
    .chat-message { max-width: 88%; padding: 10px 12px; border-radius: 12px; font-size: 12px; margin-bottom: 10px; white-space: pre-wrap; }
    .chat-message.bot { background: white; border: 1px solid var(--border); }
    .chat-message.user { background: var(--primary); color: white; margin-left: auto; }
    .chat-download-wrap { margin: 2px 0 12px; }
    .chat-download-button {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 11px 14px; border-radius: 10px; background: var(--primary);
      color: #fff; text-decoration: none; font-size: 12px; font-weight: 700;
      box-shadow: 0 5px 14px #494dbb2e; transition: transform .2s, background .2s;
    }
    .chat-download-button:hover { background: var(--primary-dark); transform: translateY(-1px); }
    .chat-form { display: flex; gap: 8px; padding: 11px; border-top: 1px solid var(--border); }
    .chat-form input { flex: 1; min-width: 0; border: 1px solid #8b8ff0; border-radius: 9px; padding: 10px; outline: none; font-size: 13px; color: #20245f; background: #eef0ff; transition: background .18s, border-color .18s, box-shadow .18s; }
    .chat-form input::placeholder { color: #656aa0; }
    .chat-form input:focus { background: #fff; border-color: #4b50b8; box-shadow: 0 0 0 3px #777cf033; }
    .chat-form button { border: 0; background: var(--primary); color: white; padding: 0 13px; border-radius: 9px; cursor: pointer; }

    .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .empty-results { display: none; text-align: center; color: var(--muted); padding: 25px; }

    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
    @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

    @media (max-width: 1050px) {
      .nav-links { gap: 13px; }
      .nav-links a { font-size: 12px; }
      .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .navbar { gap: 12px; }
      .language-select { max-width: 100px; }
    }

    @media (max-width: 800px) {
      .menu-toggle { display: block; }
      .nav-actions { margin-left: auto; }
      .nav-links {
        display: none; position: absolute; top: 76px; left: 0; right: 0;
        background: white; padding: 20px 5%; border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0;
      }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
      .hero { padding: 62px 0 48px; }
      .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
      .hero-grid { gap: 15px; }
      .hero-art { min-height: 310px; }
      .art-circle { width: 260px; }
      .book { transform: scale(.85) rotate(-9deg); }
      .hero-copy { font-size: 14px; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
      .stat:nth-child(2) { border-right: 0; }
      .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .steps-grid { grid-template-columns: 1fr; }
      .download-banner { padding: 30px; flex-direction: column; align-items: flex-start; }
      .footer-grid { grid-template-columns: repeat(2, 1fr); }
      section { padding: 58px 0; }
    }

    @media (max-width: 480px) {
      .topbar { font-size: 10px; }
      .navbar { min-height: 68px; }
      .logo { width: 37px; height: 37px; font-size: 18px; }
      .brand-name { font-size: 20px; }
      .brand-sub { font-size: 9px; }
      .nav-links { top: 68px; }
      .language-select { max-width: 93px; padding: 8px 4px; font-size: 10px; }
      .nav-actions .btn { display: none; }
      h1 { font-size: 39px; letter-spacing: -1.7px; }
      .hero-art { min-height: 275px; }
      .float-card { padding: 10px; }
      .float-one { left: -4px; }
      .float-two { right: -4px; }
      .service-grid { gap: 11px; }
      .service-card { padding: 16px 13px; min-height: 220px; }
      .service-card h3 { font-size: 13px; }
      .service-card p { font-size: 11px; }
      .service-icon { width: 42px; height: 42px; font-size: 21px; }
      .search-row { flex-direction: column; }
      .benefits { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; gap: 0; }
      .contact-form { padding: 18px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
      .footer-grid > div:first-child { grid-column: 1 / -1; }
      .copyright { flex-direction: column; }
      .chat-launch { right: 15px; bottom: 15px; }
      .chat-panel { right: 15px; bottom: 85px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
      }
      .reveal { opacity: 1; transform: none; }
    }
  
    .lead-capture{padding:12px;border-top:1px solid #e5e7eb;background:#f8faff}
    .lead-capture p{font-size:12px;line-height:1.45;margin:0 0 8px;color:#475569}
    .lead-capture-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
    .lead-capture input{min-width:0;width:100%;padding:9px;border:1px solid #d5dbea;border-radius:8px;font:inherit;font-size:13px;background:#fff}
    .lead-capture input[type=email]{grid-column:1/-1}
    .lead-capture .lead-consent{display:flex;gap:7px;align-items:flex-start;font-size:11px;margin:8px 0;color:#475569}
    .lead-capture .lead-consent input{width:auto;margin-top:2px}
    .lead-capture button{width:100%;border:0;border-radius:8px;padding:10px;background:#4b50b8;color:white;font-weight:700;cursor:pointer}
    .lead-status{font-size:12px!important;margin-top:7px!important}
    .lead-capture.is-complete { display:none; }
    .chat-form button:focus-visible, .lead-capture button:focus-visible { outline:3px solid #a5b4fc; outline-offset:2px; }
    @media(max-width:520px){.lead-capture-grid{grid-template-columns:1fr}.lead-capture input[type=email]{grid-column:auto}}

  
.ei-notice{position:relative;z-index:9999;padding:12px 18px;text-align:center;font-weight:700;background:#eef2ff;color:#34378f}
