/* ==========================================================================
   Prototype layer — Malaysia Relocation Report
   Built on top of Template 2075 Digital Team (Tooplate).
   Only additions; nothing in style.css is overridden except where noted.
   ========================================================================== */

/* ---------- hero extras ---------- */
#home .lede {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 720px;
  margin: 18px auto 0;
  color: #e9e9e9;
}
#home .hero-meta {
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
#home .hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}
#home .hero-meta span b { color: #00C6D7; }
#home .hero-note {
  margin: 22px auto 0;
  max-width: 760px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #cfcfcf;
  border-left: 3px solid #00C6D7;
  padding: 10px 14px;
  text-align: left;
  background: rgba(0, 0, 0, 0.25);
}
#home .hero-note a { color: #00C6D7; }
#home .btn { margin: 22px 6px 0; }

/* ---------- team section ----------
   The "what's in it" grid (#work) was removed in v1: it repeated the scope
   tab, the pricing cards and the free-checklist band. Bootstrap 3 rows are
   float-based, so these rows are flex to keep the persona cards aligned. */
#team .row { display: flex; flex-wrap: wrap; }
#team .col-md-3 { display: flex; flex-direction: column; margin-bottom: 30px; }
#team .col-md-3 > * { width: 100%; }

.free-band .fb-inner {
  border: 1px solid #eee;
  border-left: 4px solid #00C6D7;
  padding: 30px;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.10);
}
.free-band h2 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.free-band p { color: #6b6b6b; }
.free-band .caps { margin: 18px 0; }
.free-band .caps span {
  display: inline-block;
  background: #f4f8f9;
  border: 1px solid #dfeff2;
  color: #0a8f9c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 5px 11px;
  margin: 0 6px 6px 0;
}
.free-band .btn {
  border-radius: 0;
  padding: 12px 32px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
}
.free-band .btn-primary { background: #00c6d7; border-color: #00c6d7; color: #fff; }
.free-band .btn-primary:hover { background: #009988; border-color: #009988; }

/* ---------- about / scope tabs ---------- */
#about .about-side h3 { letter-spacing: 1px; font-size: 16px; }
#about .nav-tabs li a {
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 16px;
}
#about .nav-tabs li.active a,
#about .nav-tabs li a:hover { color: #00C6D7; border-bottom-color: #00C6D7; }
#about .tab-content {
  background: #fff;
  border: 1px solid #eee;
  border-top: 3px solid #00C6D7;
  padding: 26px 26px 24px;
  margin-top: -1px;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.08);
}
#about .tab-content p { color: #5f5f5f; font-size: 14px; }
#about .tab-content ul { margin: 6px 0 14px; padding-left: 20px; }
#about .tab-content ul li { color: #5f5f5f; font-size: 14px; margin-bottom: 7px; }
#about .tab-content ul li b { color: #2b2b2b; }
#about .tab-content .x {
  display: inline-block;
  background: #fdeaea;
  color: #a83232;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 2px 8px;
  margin-right: 8px;
}
#about .tab-content .ok {
  display: inline-block;
  background: #e6f5ef;
  color: #0a7f56;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 2px 8px;
  margin-right: 8px;
}
#about .src-note {
  font-size: 12.5px;
  color: #8a8a8a;
  border-top: 1px dashed #ddd;
  padding-top: 12px;
  margin-top: 6px;
}
#about .about-img-wrap { border: 1px solid #eee; box-shadow: 0px 2px 10px 0px rgba(50, 50, 50, 0.10); }

/* ---------- team / personas ---------- */
#team .persona h4 { font-size: 15px; font-weight: 600; margin: 0; }
#team .persona h3 { font-size: 13px; color: #00C6D7; letter-spacing: 0.6px; margin: 0; }
#team .persona p { color: #6b6b6b; font-size: 13.5px; margin-top: 12px; }
#team .team-des { background: #fff; }

/* ---------- chapter grid (isotope repurposed) ---------- */
.ch-grid { margin-top: 4px; }
.ch-grid .iso-box { margin-bottom: 20px; }
.ch-card {
  background: #fff;
  border: 1px solid #eee;
  border-top: 3px solid #00C6D7;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.10);
  padding: 22px 22px 20px;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: block;
  color: inherit;
}
.ch-card:hover { box-shadow: 0px 6px 18px 0px rgba(50, 50, 50, 0.16); border-top-color: #009988; }
.ch-card .n {
  font-size: 30px;
  font-weight: 700;
  color: #dfeff2;
  line-height: 1;
  margin-bottom: 8px;
}
.ch-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #2b2b2b;
  margin: 0 0 10px;
  line-height: 1.45;
}
.ch-card .phase {
  display: inline-block;
  background: #f4f8f9;
  border: 1px solid #dfeff2;
  color: #0a8f9c;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 9px;
}
.ch-card .outcome {
  font-size: 13px;
  color: #7a7a7a;
  margin: 12px 0 0;
  line-height: 1.6;
}
.ch-card .more {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #00C6D7;
  margin-top: 12px;
  display: inline-block;
}

/* ---------- chapter modal ---------- */
.modal-content { border: none; border-radius: 0; box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.modal-header { border-bottom: 3px solid #00C6D7; padding: 22px 26px 16px; }
.modal-title { font-size: 19px; font-weight: 600; color: #2b2b2b; line-height: 1.4; }
.modal-body { padding: 24px 26px; font-size: 14.5px; color: #5f5f5f; line-height: 1.75; }
.modal-body .ch-n {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #00C6D7;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.modal-body h5 { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #2b2b2b; margin: 20px 0 6px; }
.modal-body h5:first-of-type { margin-top: 16px; }
.modal-body .src {
  font-size: 12.5px; color: #8a8a8a; border-top: 1px dashed #ddd;
  padding-top: 12px; margin-top: 20px;
}
.modal-footer { border-top: 1px solid #eee; padding: 14px 26px; }
.modal-footer .btn { border-radius: 0; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; font-size: 12px; padding: 12px 28px; }
.btn-tl { background: #00c6d7; color: #fff; border: 1px solid #00c6d7; }
.btn-tl:hover { background: #009988; color: #fff; }
.btn-tl-ghost { background: #fff; color: #555; border: 1px solid #ddd; }
.btn-tl-ghost:hover { border-color: #00c6d7; color: #00a0b0; }

/* ---------- terms section ---------- */

/* ---------- pricing tweaks ---------- */
#pricing .plan { padding-bottom: 60px; }

#pricing .plan ul li { border-bottom: 1px solid #f2f2f2; font-weight: 400; color: #5f5f5f; font-size: 14px; }
#pricing .plan-two { border: 2px solid #ffa400; }
#pricing .plan-two .plan_title h3 { color: #ffa400; }
#pricing .plan .badge-plan {
  display: inline-block; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  background: #ffa400; color: #fff; padding: 3px 9px; margin-bottom: 10px;
}
#pricing .price-foot { max-width: 900px; margin: 6px auto 0; font-size: 13px; color: #8a8a8a; line-height: 1.7; }

/* ---------- contact ---------- */
#contact .form-control {
  border-radius: 0;
  border: 1px solid #e2e2e2;
  box-shadow: none;
  padding: 12px 14px;
}
#contact input.form-control { height: 46px; }
#contact .form-control:focus { border-color: #00C6D7; box-shadow: none; }
#contact input[type=submit].form-control {
  background: #00C6D7; border: 1px solid #00C6D7; color: #fff;
  font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; height: 46px;
}
#contact input[type=submit].form-control:hover { background: #009988; border-color: #009988; }
#contact .contact-info p { color: #dcdcdc; }
#contact .contact-info h3 { font-size: 14px; letter-spacing: 1px; }
#contact .contact-info .medium-icon { color: #00C6D7; }
#contact .buy-note {
  background: #fff; border: 1px solid #eee; border-left: 4px solid #ffa400;
  padding: 16px 18px; margin-top: 18px; font-size: 13px; color: #6b6b6b;
}
#contact .buy-note b { color: #2b2b2b; }

/* ---------- footer ---------- */
footer { background: #2b2b2b; }
footer p { color: #9a9a9a; font-size: 13px; }
footer p a { color: #00C6D7; }
footer .disclaim { font-size: 12px; color: #7d7d7d; margin-top: 8px; max-width: 900px; }
footer .merchant-line { font-size: 12px; color: #8a8a8a; margin-top: 6px; letter-spacing: .2px; }
footer hr { border-color: #3f3f3f; }

/* ---------- misc ---------- */
a { color: #00a0b0; }
.section-title strong { line-height: 1; }
#portfolio .section-title, #about .section-title, #team .section-title,
#pricing .section-title, #contact .section-title { padding-bottom: 26px; }
.prototype-note {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #7a5b00;
  font-size: 12.5px;
  padding: 10px 14px;
  margin-bottom: 24px;
}
.prototype-note b { color: #5c4400; }

/* ==========================================================================
   WOW.js safety + snappier reveals
   The template sets data-wow-delay of 0.6s-1.6s on a 1s animation, so any
   section scrolled past quickly stayed invisible for ~2s. These two rules
   make content appear immediately and animate in fast instead.
   ========================================================================== */
.wow { visibility: visible !important; }
.animated { animation-duration: .55s !important; }

/* ---------- pricing: correct selectors (template uses #pricing h2, and
   #pricing .plan .badge-plan outranks a bare #pricing .badge-plan) ---------- */
#pricing h2 { font-size: 44px !important; white-space: nowrap; letter-spacing: 1px; }
#pricing h2 span { font-size: 14px; letter-spacing: 1px; display: inline-block; vertical-align: middle; }
#pricing .plan .badge-plan {
  display: block; width: fit-content; margin: 0 auto 12px;
}
#pricing .plan .plan_title .medium-icon { display: block; margin: 0 auto 26px; }

/* badge as a ribbon so it does not push the plan title down (keeps the
   three price rows on one baseline across cards) */
#pricing .plan { position: relative; }
#pricing .plan .badge-plan {
  position: absolute; top: 16px; left: 0; right: 0; margin: 0 auto;
}

/* ==========================================================================
   WHO IT'S FOR — persona cards
   The template's #team is a hover-reveal team grid (photo + absolutely
   positioned .team-des at opacity 0). Two problems for a product page:
   (a) the text is invisible on touch devices and until hover;
   (b) the stock template photos are agency models, which would imply the
       personas are people who look like that.
   Fixed by replacing the photo with an et-line icon in the template's cyan
   circle and keeping the copy permanently visible.
   ========================================================================== */
#team .persona { overflow: visible; }
#team .persona .team-des {
  position: static; opacity: 1; background: none; color: inherit;
  width: 100%; height: auto; max-width: none; padding: 0 16px;
  display: block; transition: none; text-align: left;
}
#team .persona-icon {
  width: 96px; height: 96px; line-height: 96px; border-radius: 50%;
  border: 2px solid #00C6D7; color: #00C6D7; font-size: 40px;
  margin: 0 auto 24px; text-align: center; background: #fff;
  transition: all .3s ease-in-out;
}
#team .persona:hover .persona-icon {
  background: #00C6D7; color: #fff; border-color: #00C6D7;
}
#team .persona h4 {
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 600; color: #3b3b3b; margin: 0 0 4px;
}
#team .persona h3 {
  color: #00C6D7; font-size: 14px; font-weight: bold; margin: 0 0 14px;
  text-transform: none; letter-spacing: .3px;
}
#team .persona hr {
  border-top: 1px solid #e2e2e2; margin: 0 0 14px;
}
#team .persona p { color: #6b6b6b; font-size: 14px; margin: 0; }
#team .persona .team-des h4 + h3 { margin-top: 0; }

/* ==========================================================================
   HERO contrast
   The template's hero relies on the original slideshow overlay. This hero
   is hand-built, so it needs its own scrim — without it the white text and
   the "Get it — $8" button disappear over the bright part of the photo.
   ========================================================================== */
#home { position: relative; }
#home::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.66) 45%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.10) 55%, rgba(0,0,0,.45) 100%);
  z-index: 1;
}
#home > .container { position: relative; z-index: 2; }
#home .hero-meta span {
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.35);
}
#home .hero-meta span b { color: #4FE3EE; }
#home .lede { color: #f2f2f2; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
#home h1 { text-shadow: 0 2px 4px rgba(0,0,0,.40); }
#home .hero-note { background: rgba(0, 0, 0, 0.45); }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
  #home { height: auto; padding: 90px 0 70px; }
  #home h1 { font-size: 28px; }
  #home .btn { padding: 11px 26px; font-size: 13px; }
  #home .hero-meta span { font-size: 11px; padding: 5px 11px; letter-spacing: 1px; }

  /* filter row: 6 pills wrap into ragged rows at this width */
  #portfolio .filter-wrapper li a {
    font-size: 10.5px; letter-spacing: .8px; padding: 9px 11px; margin: 0 3px 8px;
  }
  #portfolio .filter-wrapper { text-align: center; }
  /* the template logo is oversized at this width and pushes the burger off */
  .custom-navbar .navbar-brand { font-size: 17px; padding: 15px 12px; }
  .navbar-nav > li > a { font-size: 11px; letter-spacing: 1px; }

  #team .persona-icon { width: 74px; height: 74px; line-height: 74px; font-size: 30px; }
  #pricing h2 { font-size: 34px !important; }
  #pricing .plan .plan_title { padding: 22px 16px; }
  #pricing .plan .badge-plan { top: 10px; }
}

/* ==========================================================================
   HERO — pain-point strip (v1 positioning: Indian IT professionals, the
   individual's own pain points, not the employer's)
   ========================================================================== */
#home { height: auto; min-height: 100vh; }
#home .hero-pains {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 30px; margin: 32px auto 0; max-width: 1020px;
}
#home .hero-pains .hp {
  flex: 1 1 250px; max-width: 310px; text-align: left;
}
#home .hero-pains .hp i {
  display: block; font-size: 26px; color: #00C6D7; margin-bottom: 10px;
}
#home .hero-pains .hp h4 {
  font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 700; color: #ffffff; margin: 0 0 8px; line-height: 1.5;
}
#home .hero-pains .hp p {
  font-size: 12.5px; line-height: 1.65; color: #d6d6d6; margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
@media (max-width: 767px) {
  #home { min-height: 0; }
  #home .hero-pains { gap: 22px; }
  #home .hero-pains .hp { max-width: 100%; }
  #home .hero-pains .hp h4 { min-height: 0; }
}

/* #contact sits on a dark photo — the template's own rule is color:#fff.
   My earlier #6b6b6b (meant for a white section) put body copy on the
   photo at near-invisible contrast. Add a light scrim so the paragraph
   reads wherever the photo is bright. */
#contact { position: relative; }
#contact::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.40); z-index: 1;
}
#contact .container { position: relative; z-index: 2; }

/* hero pain headings: keep the three paragraphs on one baseline even when
   one heading wraps to two lines */
#home .hero-pains .hp h4 { min-height: 2.9em; }

/* ---- footer legal links + contact form fallback ---------------------- */
footer .legal-links{margin-top:14px;font-size:13px;color:#9a9a9a;line-height:2}
footer .legal-links a{color:#c9c9c9;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.18)}
footer .legal-links a:hover{color:#fff;border-bottom-color:#fff}
#contact .form-fallback{margin-top:12px;font-size:13.5px;color:#dcdcdc;line-height:1.6}
#contact .form-fallback a{color:#fff;text-decoration:underline}
@media (max-width:480px){footer .legal-links{line-height:2.1}}
