/* ═══════════════════════════════════════════════════
   CORELMS PUBLIC SITE — IT BOOSTUP  (VERSION 2)
   Theme: Dark Navy → Light Blue   (NO BLACK)
   Primary: #0f1f3d  Surface: #1e3a5f  Accent: #3b82f6
   ═══════════════════════════════════════════════════ */

:root {
  --bg:       #0f1f3d;      /* deep navy, NOT black */
  --surface:  #162d52;      /* slightly lighter navy */
  --card:     #1e3a5f;      /* card backgrounds */
  --border:   #2d4f7a;      /* subtle borders */
  --accent:   #3b82f6;      /* primary blue */
  --accent2:  #60a5fa;      /* lighter blue */
  --accent3:  #93c5fd;      /* sky blue for highlights */
  --green:    #10b981;
  --amber:    #f59e0b;
  --text:     #e8f0fe;      /* off-white with blue tint */
  --muted:    #7da3c8;      /* muted blue-grey */
  --light:    #b0cde8;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* ── NAV ─────────────────────────────────────────── */
.pub-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 32px; height: 66px;
  display: flex; align-items: center;
  background: rgba(15,31,61,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59,130,246,0.18);
}
.nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; background: linear-gradient(135deg, #1d4ed8, #3b82f6); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; color: #fff; }
.brand-logo.lg { width: 52px; height: 52px; font-size: 1.1rem; }
.brand-title { font-size: 1.05rem; font-weight: 800; color: #fff; }
.brand-sub { font-size: .68rem; color: var(--muted); display: block; }
.nav-links { display: flex; gap: 32px; flex: 1; justify-content: center; }
.nav-link { font-size: .875rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--accent3); }
.nav-actions { display: flex; gap: 10px; margin-left: auto; }
.btn-ghost-sm { padding: 7px 18px; border-radius: 8px; font-size: .85rem; font-weight: 600; color: var(--light); border: 1px solid var(--border); transition: all .2s; }
.btn-ghost-sm:hover { color: #fff; border-color: var(--accent); }
.btn-primary-sm { padding: 8px 20px; border-radius: 8px; font-size: .85rem; font-weight: 700; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; box-shadow: 0 2px 8px rgba(59,130,246,.4); transition: transform .15s; }
.btn-primary-sm:hover { transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; }

/* ── HERO ─────────────────────────────────────────── */
.hero { padding: 130px 32px 80px; max-width: 1200px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.3); border-radius: 100px; padding: 6px 18px; font-size: .8rem; color: var(--accent2); margin-bottom: 24px; }
.hero-title { font-size: 3.8rem; font-weight: 800; line-height: 1.06; color: #fff; margin-bottom: 20px; }
.hero-title .hi { background: linear-gradient(135deg, var(--accent2), #93c5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-size: .95rem; font-weight: 700; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; box-shadow: 0 4px 20px rgba(59,130,246,.4); transition: transform .15s, box-shadow .15s; }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,.5); }
.btn-hero-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-size: .95rem; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--light); transition: all .15s; }
.btn-hero-secondary:hover { background: rgba(59,130,246,.12); border-color: var(--accent); color: #fff; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--accent2); }
.hero-stat-lbl { font-size: .75rem; color: var(--muted); font-weight: 500; }

/* ── SECTIONS ─────────────────────────────────────── */
.section { padding: 80px 32px; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 32px; }
.section-alt-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent2); background: rgba(59,130,246,.1); padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.section-title { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 520px; margin: 0 auto; }

/* ── CARDS ────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: border-color .2s, transform .2s; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px; }
.feature-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ── PROGRAM CARDS ────────────────────────────────── */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.program-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: all .2s; }
.program-card:hover { border-color: var(--accent2); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(59,130,246,.15); }
.program-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(59,130,246,.15); display: flex; align-items: center; justify-content: center; color: var(--accent2); margin-bottom: 14px; font-size: 1rem; }
.program-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.program-desc { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.program-meta { display: flex; gap: 12px; font-size: .75rem; color: var(--muted); }

/* ── BLOG CARDS ───────────────────────────────────── */
.blogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.blog-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .2s; }
.blog-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.blog-thumb { width: 100%; height: 160px; object-fit: cover; background: linear-gradient(135deg, var(--surface), var(--card)); }
.blog-body { padding: 20px; }
.blog-cat { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-bottom: 8px; }
.blog-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.blog-meta { font-size: .75rem; color: var(--muted); }

/* ── PRICING ──────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.pricing-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px 28px; text-align: center; position: relative; transition: all .2s; }
.pricing-card.featured { border-color: var(--accent); background: linear-gradient(160deg, #162d52, #1a3a6b); box-shadow: 0 8px 40px rgba(59,130,246,.2); }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.pricing-name { font-size: 1rem; font-weight: 700; color: var(--accent2); margin-bottom: 8px; }
.pricing-price { font-size: 2.8rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.pricing-per { font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: .875rem; color: var(--light); display: flex; align-items: center; gap: 10px; }
.pricing-features li i { color: var(--green); width: 14px; }
.pricing-btn { display: block; padding: 12px; border-radius: 10px; font-size: .9rem; font-weight: 700; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; transition: opacity .15s; }
.pricing-btn.ghost { background: transparent; border: 1.5px solid var(--border); color: var(--light); }
.pricing-btn:hover { opacity: .85; }

/* ── CONTACT FORM ─────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(59,130,246,.12); display: flex; align-items: center; justify-content: center; color: var(--accent2); flex-shrink: 0; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
.cf-group { margin-bottom: 20px; }
.cf-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--light); margin-bottom: 6px; }
.cf-input, .cf-textarea, .cf-select { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; color: var(--text); font-size: .9rem; outline: none; transition: border-color .2s; }
.cf-input:focus, .cf-textarea:focus { border-color: var(--accent); }
.cf-textarea { min-height: 120px; resize: vertical; }
.cf-submit { width: 100%; padding: 13px; border-radius: 10px; font-size: .95rem; font-weight: 700; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; border: none; cursor: pointer; transition: opacity .15s; }
.cf-submit:hover { opacity: .85; }

/* ── ABOUT ────────────────────────────────────────── */
.about-hero { background: linear-gradient(160deg, var(--surface), var(--bg)); padding: 120px 32px 80px; text-align: center; border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-stat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.about-stat-num { font-size: 2.2rem; font-weight: 800; color: var(--accent2); }
.about-stat-lbl { font-size: .78rem; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-align: center; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #1d4ed8, #60a5fa); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 auto 14px; }
.team-name { font-weight: 700; color: #fff; margin-bottom: 4px; }
.team-role { font-size: .78rem; color: var(--accent2); }

/* ── FOOTER ───────────────────────────────────────── */
.pub-footer { background: #0a1628; border-top: 1px solid var(--border); padding: 60px 32px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: .85rem; color: var(--muted); margin-top: 14px; line-height: 1.7; }
.footer-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); margin-bottom: 16px; }
.footer-col a { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); }
.social-links { display: flex; gap: 12px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .2s; }
.social-btn:hover { background: rgba(59,130,246,.15); border-color: var(--accent); color: var(--accent2); }

/* ── TECH BADGE ───────────────────────────────────── */
.pub-tech-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 600; padding: 2px 10px; border-radius: 20px; background: rgba(59,130,246,.15); color: var(--accent2); border: 1px solid rgba(59,130,246,.25); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .mobile-menu-btn { display: block; }
}
