/* WePower Engineering And Technology Pvt. Ltd. — wepowerinc.com */

:root {
  --green: #1c4520;
  --green-deep: #0f2611;
  --green-tint: #eef2ec;
  --ink: #1d262b;
  --muted: #5d6a70;
  --paper: #ffffff;
  --soft: #f6f7f5;
  --line: #e3e7e1;
  --gold: #b28a35;
  --radius: 6px;
  --maxw: 1140px;
  --shadow: 0 10px 30px rgba(20, 35, 22, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  height: 76px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 4px;
  color: var(--ink); font-size: 1.25rem; line-height: 1; padding: 6px 11px; cursor: pointer;
}

.site-nav ul { display: flex; gap: 6px; list-style: none; align-items: center; }

.site-nav a {
  display: block;
  padding: 9px 15px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--green); }
.site-nav a.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }

.site-nav .nav-cta a {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 20px;
  border-bottom: none;
  font-weight: 600;
  margin-left: 10px;
  transition: background 0.15s;
}
.site-nav .nav-cta a:hover, .site-nav .nav-cta a.active { background: var(--green-deep); color: #fff; }

/* ---------- Type helpers ---------- */

.overline {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(10, 22, 12, 0.92) 0%, rgba(10, 22, 12, 0.72) 55%, rgba(10, 22, 12, 0.45) 100%),
    url("../images/hero-circuit.jpeg") center/cover no-repeat;
}

.hero .container { padding-top: 130px; padding-bottom: 140px; }

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 720px;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero p.tagline {
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 38px;
  font-weight: 350;
}

.hero .overline { color: #d8b563; }

.page-hero {
  background: linear-gradient(105deg, #0a160c 0%, #14301a 70%, #1c4520 100%);
  color: #fff;
}
.page-hero .container { padding-top: 84px; padding-bottom: 88px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 640px; font-weight: 350; }
.page-hero .overline { color: #d8b563; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  padding: 14px 32px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  margin-left: 14px;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-quiet {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.btn-quiet:hover { background: var(--green-tint); }

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section.alt { background: var(--soft); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow); border-color: #d3d9d1; }

.card img { width: 100%; height: 215px; object-fit: cover; }
.card img.contain { object-fit: contain; background: #fff; padding: 18px; }

.card-body { padding: 24px 26px 28px; flex: 1; }
.card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 0.93rem; }

.icon-card { border-top: 1px solid var(--ink); padding-top: 22px; }
.icon-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.icon-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Project list ---------- */

.rule-list {
  list-style: none;
  columns: 2;
  column-gap: 56px;
}
.rule-list li {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 550;
  font-size: 0.99rem;
  break-inside: avoid;
}
.rule-list li::before {
  content: "—";
  color: var(--gold);
  margin-right: 12px;
}

/* ---------- Split / about ---------- */

.about-wrap { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.about-wrap img { border-radius: var(--radius); width: 100%; }
.about-wrap h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-bottom: 18px; }
.about-wrap p { color: var(--muted); margin-bottom: 14px; font-size: 0.99rem; }

/* ---------- Stats band ---------- */

.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 26px; }
.stat { border-left: 3px solid var(--green); padding-left: 18px; }
.stat b { display: block; font-size: 1.35rem; letter-spacing: -0.01em; }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Testimonials ---------- */

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
}
.quote-card::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.6;
  display: block;
  margin-bottom: 20px;
}
.quote-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }
.quote-card cite { font-style: normal; font-weight: 650; font-size: 0.93rem; }

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery img { width: 100%; height: 185px; object-fit: cover; border-radius: 4px; }

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 44px 0;
}
.feature-row img { border-radius: var(--radius); width: 100%; height: 330px; object-fit: cover; border: 1px solid var(--line); }
.feature-row:has(img.shot) { grid-template-columns: 300px 1fr; gap: 56px; }
.feature-row.reverse:has(img.shot) { grid-template-columns: 1fr 300px; }
.feature-row img.shot {
  height: auto;
  width: 100%;
  max-width: 200px;
  justify-self: center;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
}
.feature-row h3 { font-size: 1.32rem; margin-bottom: 14px; }
.feature-row h4 { font-size: 1rem; margin: 18px 0 4px; }
.feature-row p { color: var(--muted); font-size: 0.97rem; }
.feature-row.reverse .feature-img { order: 2; }

.banner-note {
  background: var(--green-tint);
  border-left: 3px solid var(--green);
  color: var(--green-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.banner-note span { color: var(--gold); }

/* ---------- Check list ---------- */

.check-list { list-style: none; margin-top: 12px; }
.check-list li { padding-left: 28px; position: relative; color: var(--muted); font-size: 0.95rem; margin-bottom: 9px; }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Contact / forms ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }

.contact-info h3 { font-size: 1.14rem; margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 11px; font-size: 0.96rem; }
.contact-info strong { color: var(--ink); font-weight: 600; }
.contact-info a { color: var(--green); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.section.alt .form-card { box-shadow: var(--shadow); border: none; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.87rem; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(28, 69, 32, 0.12);
}
.form-field textarea { resize: vertical; min-height: 135px; }

.form-note { font-size: 0.83rem; color: var(--muted); margin-top: 14px; }

.form-status { padding: 13px 16px; border-radius: 4px; font-size: 0.92rem; font-weight: 550; margin-bottom: 20px; }
.form-status.ok { background: var(--green-tint); color: var(--green-deep); border: 1px solid #c4d4c2; }
.form-status.err { background: #fdf0ef; color: #7a2e26; border: 1px solid #ecd0cc; }

/* ---------- CTA strip ---------- */

.cta-strip { background: var(--green-deep); color: #fff; }
.cta-strip .container { padding-top: 76px; padding-bottom: 76px; text-align: center; }
.cta-strip h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); margin-bottom: 12px; }
.cta-strip p { color: rgba(255, 255, 255, 0.75); margin-bottom: 30px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-strip p a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cta-strip p a:hover { color: rgba(255, 255, 255, 0.8); }
.cta-strip .btn { background: #fff; color: var(--green-deep); border-color: #fff; }
.cta-strip .btn:hover { background: #e8ece7; border-color: #e8ece7; }

/* ---------- Footer ---------- */

.site-footer { background: #0c1a0d; color: #a8b5a9; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 48px;
}
.footer-logo { height: 34px; width: auto; margin-bottom: 20px; opacity: 0.95; }
.site-footer h4 { color: #fff; font-size: 0.92rem; margin-bottom: 16px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.site-footer p, .site-footer li { font-size: 0.9rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; }
.site-footer a { color: #a8b5a9; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: #74836f;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about-wrap, .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-row:has(img.shot), .feature-row.reverse:has(img.shot) { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .rule-list { columns: 1; }
  .stats-band { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; padding-bottom: 12px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { border-bottom: none; padding: 12px 4px; }
  .site-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; }

  .hero .container { padding-top: 84px; padding-bottom: 92px; }
  .btn-outline { margin-left: 0; margin-top: 14px; }
}

/* ---------- WHATSAPP FLOAT ---------- */
/* Same treatment and number as avionepal, so the two sites behave alike. */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.4); transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 600px) {
  .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float:hover { transform: none; }
}

/* ---------- FILE INPUTS (careers) ---------- */
.form-field input[type=file] {
  width: 100%; font: inherit; font-size: 0.92rem;
  padding: 10px; border: 1px dashed var(--line); border-radius: 4px;
  background: var(--soft); cursor: pointer;
}
.form-field input[type=file]:focus { outline: 2px solid var(--green-deep); outline-offset: 1px; }
.form-field .req { color: #7a2e26; font-weight: 500; }
.form-field .opt { color: var(--muted); font-weight: 400; }

/* ---------- JOB LISTINGS ---------- */
.job-list { display: grid; gap: 16px; }
.job-card {
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
}
.job-card-main { flex: 1 1 320px; }
.job-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.job-card h3 a { color: inherit; text-decoration: none; }
.job-card h3 a:hover { text-decoration: underline; }
.job-card p { margin: 0 0 12px; color: var(--muted); }
.job-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.job-tags li {
  font-size: 0.8rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px;
}
.job-list-note { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }

/* Single posting page */
.job-detail .back-link { font-size: 0.9rem; color: var(--green); font-weight: 550; text-decoration: none; }
.job-detail .back-link:hover { text-decoration: underline; }
.job-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px; margin: 22px 0 30px;
  padding: 20px 22px; background: var(--soft); border-radius: var(--radius);
}
.job-meta dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.job-meta dd { margin: 4px 0 0; font-weight: 550; }
.job-lists h3 { margin-top: 0; }
.job-apply { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }

@media (max-width: 640px) {
  .job-card { flex-direction: column; align-items: flex-start; }
}
