/*
Theme Name: EFP Tech
Theme URI: https://efptech.in
Author: EFP Tech Consultancy
Description: Professional white-and-blue training consultancy theme with courses, mentors, about, student login and dashboard pages.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: efp-tech
*/

/* EFP Tech — static stylesheet (white & blue professional theme) */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #ffffff;
  --fg: #16223a;
  --muted: #667089;
  --primary: #1e50d2;
  --primary-glow: #4b8bf5;
  --primary-soft: #eef3ff;
  --secondary: #f4f7fd;
  --border: #e4e9f2;
  --success: #14a06b;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(30, 80, 210, .06), 0 8px 24px -12px rgba(30, 80, 210, .18);
  --shadow-lift: 0 18px 40px -18px rgba(30, 80, 210, .35);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --gradient-soft: linear-gradient(180deg, var(--primary-soft), #fff);
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: -.02em; margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: 1.25rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xs { font-size: .78rem; }
.center { text-align: center; }
.section { padding: 5rem 0; }
.section-tight { padding: 3rem 0; }
.text-primary { color: var(--primary); }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack > * + * { margin-top: 1rem; }
.mt-1 { margin-top: .35rem; } .mt-2 { margin-top: .75rem; } .mt-3 { margin-top: 1.25rem; }
.mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 1.1rem; }
.brand .logo { width: 36px; height: 36px; border-radius: 10px; background: var(--gradient-primary); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.nav-links { display: flex; gap: .25rem; }
.nav-links a { padding: .5rem .75rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover { background: var(--secondary); color: var(--fg); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-actions { display: flex; gap: .5rem; align-items: center; }
@media (max-width: 860px) { .nav-links, .nav-actions { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: 10px; padding: .6rem 1.1rem; font-size: .9rem; font-weight: 600; cursor: pointer; transition: .2s ease; font-family: inherit; }
.btn-hero { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-card); }
.btn-hero:hover { box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); background: #fff; color: var(--fg); }
.btn-outline:hover { background: var(--secondary); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-soft:hover { background: #e2ebff; }
.btn-ghost { color: var(--muted); background: transparent; }
.btn-ghost:hover { color: var(--fg); background: var(--secondary); }
.btn-lg { padding: .85rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Cards & grids */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-body { padding: 1.5rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.pill { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .3rem .75rem; font-size: .75rem; font-weight: 600; }
.pill-primary { background: var(--primary-soft); color: var(--primary); }
.pill-outline { background: #fff; border: 1px solid var(--border); color: var(--primary); }
.tag { display: inline-block; background: var(--secondary); color: #3b4763; border-radius: 999px; padding: .25rem .65rem; font-size: .75rem; margin: .25rem .25rem 0 0; }
.check { color: var(--success); font-weight: 700; }

/* Hero */
.hero { background: var(--gradient-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 4.5rem 0; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hero img { border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-lift); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding: 3rem 0; } }

.page-header { background: var(--gradient-soft); border-bottom: 1px solid var(--border); padding: 4rem 0; text-align: center; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-top: 1rem; }
.page-header p { max-width: 42rem; margin: 1rem auto 0; color: var(--muted); }

.stats { border-block: 1px solid var(--border); background: #fff; }
.stats .value { font-family: "Plus Jakarta Sans"; font-size: 1.9rem; font-weight: 800; color: var(--primary); }

.band { background: var(--secondary); }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.15rem; }
.step-n { font-family: "Plus Jakarta Sans"; font-weight: 800; font-size: 1.5rem; color: var(--primary-glow); }

h2.section-title { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; }

/* Forms */
.form-wrap { max-width: 26rem; margin: 4rem auto; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
input, select { width: 100%; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: .95rem; background: #fff; color: var(--fg); }
input:focus, select:focus { outline: 2px solid var(--primary-glow); outline-offset: 1px; }
.field + .field { margin-top: 1rem; }

/* Dashboard */
.progress { height: 8px; border-radius: 999px; background: var(--secondary); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gradient-primary); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.list-row { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.list-row:last-child { border-bottom: 0; }

/* Footer */
.footer { margin-top: 5rem; border-top: 1px solid var(--border); background: var(--secondary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0; }
.footer h4 { font-size: .9rem; }
.footer a:hover { color: var(--primary); }
.footer .bottom { border-top: 1px solid var(--border); font-size: .75rem; color: var(--muted); padding: 1.25rem 0; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
