/* =========================================================
   CodeEasy Innovations Labs — Marketing site
   Style: Classic WordPress business / corporate theme
   (light, conventional, multi-column, widgetized footer)
   ========================================================= */

:root {
  --primary: #1b4d8f;        /* corporate blue */
  --primary-dark: #143b6e;
  --accent: #00a99d;         /* teal accent */
  --accent-dark: #00897d;

  --text: #404a57;
  --heading: #1f2a37;
  --muted: #6b7684;
  --light: #f5f7fa;
  --light-2: #eef2f7;
  --line: #e2e8f0;
  --white: #ffffff;

  --footer-bg: #18222e;
  --footer-text: #aeb8c4;
  --footer-line: #2a3744;

  --maxw: 1170px;
  --radius: 4px;

  --heading-font: "Poppins", "Segoe UI", Tahoma, sans-serif;
  --body-font: "Open Sans", "Helvetica Neue", Arial, sans-serif;

  --shadow: 0 6px 24px rgba(20, 40, 80, .08);
  --shadow-sm: 0 2px 10px rgba(20, 40, 80, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 { font-family: var(--heading-font); color: var(--heading); font-weight: 600; line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1rem; }

img { max-width: 100%; height: auto; }

/* ---------- Buttons (classic WP) ---------- */
.btn {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: #fff; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--primary-dark); color: #cdd9ea; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: #cdd9ea; }
.topbar a:hover { color: #fff; }
.topbar .tb-left span { margin-right: 20px; }
.topbar .tb-right a { margin-left: 16px; }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- Header / nav ---------- */
header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }
.brand .logo {
  width: 46px; height: 46px; border-radius: 6px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-family: var(--heading-font); font-weight: 700; font-size: 1.4rem;
}
.brand-icon {
  width: 46px; height: 46px; object-fit: contain; flex-shrink: 0;
}
.brand-logo-orig {
  height: 45px; width: auto; display: block; flex-shrink: 0;
}
.brand .brand-text { line-height: 1.15; }
.brand .brand-text strong { font-family: var(--heading-font); color: var(--heading); font-size: 1.25rem; font-weight: 700; display: block; }
.brand .brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--heading-font);
  color: var(--heading); font-weight: 500; font-size: .95rem;
  position: relative; padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--accent);
}
.main-nav .btn { padding: 10px 22px; text-transform: uppercase; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font-size: 1.2rem; cursor: pointer; color: var(--heading); }
@media (max-width: 940px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 16px 20px; box-shadow: var(--shadow);
  }
  .main-nav.open a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--light-2); }
  .nav-toggle { display: inline-block; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(rgba(20,59,110,.92), rgba(20,59,110,.92)), var(--primary);
  color: #fff; text-align: center; padding: 70px 0;
}
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner .crumbs { font-size: .9rem; color: #c4d3e8; }
.page-banner .crumbs a { color: #fff; }

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(rgba(16,40,78,.72), rgba(16,40,78,.82)),
              url('assets/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 110px 0 100px;
}
.hero h1 { color: #fff; font-size: 3rem; margin-bottom: .35em; }
.hero p.lead { font-size: 1.25rem; color: #d8e3f2; max-width: 640px; margin-bottom: 1.8rem; }
.hero .hero-btns .btn { margin-right: 14px; margin-bottom: 10px; }
.hero .hero-note { margin-top: 22px; font-size: .9rem; color: #9fb4d1; }
@media (max-width: 600px) { .hero h1 { font-size: 2.2rem; } }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.sec-light { background: var(--light); }
.sec-line { border-top: 1px solid var(--line); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sec-head .kicker {
  display: inline-block; font-family: var(--heading-font); font-weight: 600;
  color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; margin-bottom: 12px;
}
.sec-head h2 { margin-bottom: .4em; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.sec-head::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin: 22px auto 0; }

/* ---------- Service boxes (3-col) ---------- */
.row { display: grid; gap: 30px; }
.row-2 { grid-template-columns: repeat(2, 1fr); }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.row-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .row-3, .row-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .row-2, .row-3, .row-4 { grid-template-columns: 1fr; } }

.service-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 30px; text-align: center; transition: all .25s ease;
}
.service-box:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.service-box .ico {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--light-2); color: var(--primary);
  display: grid; place-items: center; font-size: 1.9rem; transition: all .25s ease;
}
.service-box:hover .ico { background: var(--primary); color: #fff; }
.service-box h3 { margin-bottom: .5em; }
.service-box p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }
.service-box .more { font-family: var(--heading-font); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }

/* card variant (left aligned) */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: all .25s ease;
}
.card:hover { box-shadow: var(--shadow); }
.card .ico { width: 58px; height: 58px; border-radius: 8px; background: var(--light-2); color: var(--primary); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Feature list ---------- */
.flist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.flist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); }
.flist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: .72rem; display: grid; place-items: center; margin-top: 5px;
}

/* ---------- Split rows (about / alternating) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.rev .split-text { order: 2; }
.split .kicker { color: var(--accent); font-family: var(--heading-font); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; }
.split-media {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px; min-height: 340px; display: grid; place-items: center;
  color: #fff; font-family: var(--heading-font); padding: 30px; box-shadow: var(--shadow);
}
.split-media .big { font-size: 3.4rem; font-weight: 700; }
@media (max-width: 820px) { .split, .split.rev { grid-template-columns: 1fr; gap: 32px; } .split.rev .split-text { order: 0; } }

/* ---------- Counters / stat band ---------- */
.counters {
  background: linear-gradient(rgba(20,59,110,.94), rgba(20,59,110,.94)), var(--primary);
  color: #fff;
}
.counters .row { text-align: center; }
.counters .n { font-family: var(--heading-font); font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; }
.counters .l { color: #bcd0ea; font-size: .95rem; margin-top: 8px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  position: relative;
}
.testimonial::before { content: "\201C"; font-family: Georgia, serif; font-size: 4rem; color: var(--accent); line-height: 1; position: absolute; top: 10px; right: 24px; opacity: .25; }
.testimonial p { font-style: italic; color: var(--text); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--heading-font); font-weight: 600; }
.testimonial .who strong { display: block; color: var(--heading); font-family: var(--heading-font); }
.testimonial .who small { color: var(--muted); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; text-align: center;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #e4eef9; max-width: 620px; margin: 0 auto 1.6rem; font-size: 1.1rem; }

/* ---------- Tables ---------- */
.ptable { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow-sm); }
.ptable th, .ptable td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.ptable th { background: var(--primary); color: #fff; font-family: var(--heading-font); font-weight: 600; font-size: .9rem; }
.ptable tr:nth-child(even) td { background: var(--light); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form label { font-family: var(--heading-font); font-weight: 600; font-size: .9rem; color: var(--heading); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--body-font); font-size: 1rem; color: var(--text); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,77,143,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* contact info blocks */
.info-block { display: flex; gap: 16px; margin-bottom: 26px; }
.info-block .ico { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; background: var(--light-2); color: var(--primary); display: grid; place-items: center; font-size: 1.3rem; }
.info-block h4 { margin-bottom: 2px; }
.info-block p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 0; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-cols h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-cols h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--accent); }
.footer-cols a { display: block; color: var(--footer-text); margin-bottom: 11px; font-size: .94rem; }
.footer-cols a:hover { color: #fff; padding-left: 5px; }
.footer-cols p { font-size: .94rem; color: var(--footer-text); }
.footer-brand .logo { width: 44px; height: 44px; border-radius: 6px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--heading-font); font-weight: 700; font-size: 1.3rem; margin-bottom: 16px; }
.footer-logo-img { height: 54px; width: auto; margin-bottom: 16px; display: block; }
.footer-contact li { list-style: none; }
.footer-contact { padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .94rem; }
.footer-bottom { border-top: 1px solid var(--footer-line); margin-top: 50px; padding: 22px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; color: #8492a2; }
.footer-bottom a { color: #8492a2; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.pill { display: inline-block; font-family: var(--heading-font); font-size: .72rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--light-2); color: var(--primary); }
.badge-accent { background: rgba(0,169,157,.12); color: var(--accent-dark); }

/* ---------- Leadership / Team ---------- */
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.leader-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; gap: 22px; align-items: flex-start; transition: all .25s ease; }
.leader-card:hover { box-shadow: var(--shadow); }
.leader-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: top center; flex: 0 0 112px; border: 3px solid var(--light-2); }
.leader-card h3 { margin: 0 0 2px; }
.leader-card .role { color: var(--accent-dark); font-family: var(--heading-font); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; display: block; margin-bottom: 12px; }
.leader-card p { font-size: .92rem; color: var(--muted); margin-bottom: .8rem; }
.leader-card .leader-links a { font-family: var(--heading-font); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .4px; margin-right: 16px; }
@media (max-width: 720px) { .leader-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .leader-card { flex-direction: column; align-items: center; text-align: center; } }

/* ---------- VS Code Extension Download ---------- */
.sec-download {
  background: linear-gradient(160deg, #eef3ff 0%, #e4ecff 100%);
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  text-align: center;
}
.sec-download .sec-head { margin-bottom: 0; }
.sec-download .sec-head p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* --- 3-step horizontal flow --- */
.dl-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 48px auto 40px;
  max-width: 860px;
}

.dl-step {
  flex: 1;
  max-width: 240px;
  padding: 0 16px;
  text-align: center;
}

.dl-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(27,77,143,.28);
}

.dl-step strong {
  display: block;
  font-family: var(--heading-font);
  font-size: .98rem;
  color: var(--heading);
  margin-bottom: 8px;
}

.dl-step p {
  font-size: .86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.dl-step code {
  background: rgba(27,77,143,.1);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: .85em;
  color: var(--primary-dark);
}

.dl-arrow {
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
  padding-top: 10px; /* align with centre of .dl-num */
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 14px;
}

/* --- CTA button --- */
.dl-cta { margin: 0 0 28px; }

.dl-btn {
  font-size: 1.05rem;
  padding: 16px 44px;
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,169,157,.38);
  transition: all .2s ease;
}
.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,169,157,.48);
  color: #fff;
}

.dl-meta {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .2px;
}

/* --- Dark terminal block --- */
.dl-terminal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #161d2e;
  border-radius: 10px;
  padding: 22px 40px 20px;
  margin: 0 auto 20px;
  position: relative;
  min-width: 420px;
}

.dl-terminal-dots {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: .45rem;
  letter-spacing: 5px;
  color: #555;
}

.dl-terminal-label {
  font-size: .72rem;
  color: #6b7a99;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dl-terminal-cmd {
  color: #7ee8a2;
  font-size: .92rem;
  font-family: 'Courier New', Consolas, monospace;
  white-space: nowrap;
}

.dl-note {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
}
.dl-note a { color: var(--accent-dark); }

@media (max-width: 720px) {
  .dl-steps { flex-direction: column; align-items: center; gap: 24px; }
  .dl-arrow { transform: rotate(90deg); margin: -8px 0; padding-top: 0; }
  .dl-terminal { min-width: 0; width: 100%; }
  .dl-terminal-cmd { font-size: .8rem; }
}
