/* MADE-IN-BD CLOUD & SERVER SOLUTIONS  (page: /services/cloud) */

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css");

/* Full-width page: remove the boxed CMS container and its top/bottom gaps */
.cms-content-wrapper { max-width: none !important; width: 100% !important; padding: 0 !important; }
.cms-content-wrapper > main { padding-bottom: 0 !important; }

#mib-cloud {
  --ed-green: #008b64;
  --ed-dark: #004b37;
  --ed-deep: #00392c;
  --ed-mint: #eaf8f2;
  --ed-text: #172b26;
  --ed-muted: #5f706a;
  --ed-border: #e1ece7;

  font-family: Arial, Helvetica, sans-serif;
  color: var(--ed-text);
  background: #fff;
  width: 100%;
  line-height: 1.5;
}

#mib-cloud, #mib-cloud * { box-sizing: border-box; }
#mib-cloud a { text-decoration: none; color: inherit; }
#mib-cloud p { margin: 0; }
#mib-cloud h1, #mib-cloud h2, #mib-cloud h3 { font-family: inherit; color: var(--ed-text); margin: 0; }
#mib-cloud img { display: block; max-width: 100%; height: auto; }

/* Same left/right edges as the site header (1440px box, 24px gutters) */
#mib-cloud .ed-container { width: min(100% - 48px, 1392px); margin: 0 auto; }

/* Icons are drawn in CSS because the CMS editor removes empty <i> tags */
#mib-cloud .ed-label::before,
#mib-cloud .ed-panel-item::before,
#mib-cloud .ed-panel-item::after,
#mib-cloud .ed-points li::before,
#mib-cloud .ed-btn-primary::after,
#mib-cloud .ed-btn-ghost[target="_blank"]::after,
#mib-cloud .ed-tag::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
}

/* BUTTONS */
#mib-cloud .ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
#mib-cloud .ed-btn:hover { transform: translateY(-1px); }
#mib-cloud .ed-btn:focus-visible { outline: 3px solid #7fe0b7; outline-offset: 3px; }
#mib-cloud .ed-btn-light { background: #fff; color: var(--ed-dark); }
#mib-cloud .ed-btn-light:hover { background: #dff7ec; color: var(--ed-deep); }
#mib-cloud .ed-btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
#mib-cloud .ed-btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
#mib-cloud .ed-btn-primary { background: linear-gradient(110deg, #00a96e, #007758); color: #fff; }
#mib-cloud .ed-btn-primary:hover { background: #006d50; color: #fff; }
#mib-cloud .ed-btn-primary::after { content: "\f061"; font-size: 12px; }
#mib-cloud .ed-btn-ghost { border-color: var(--ed-border); color: var(--ed-dark); background: #fff; }
#mib-cloud .ed-btn-ghost:hover { border-color: var(--ed-green); color: var(--ed-green); }
#mib-cloud .ed-btn-ghost[target="_blank"]::after { content: "\f35d"; font-size: 11px; }

/* HERO */
#mib-cloud .ed-hero {
  background:
    radial-gradient(circle at 78% 70%, rgba(1, 183, 115, .40), transparent 38%),
    linear-gradient(115deg, #004c39 0%, #007252 100%);
  color: #fff;
  overflow: hidden;
}
#mib-cloud .ed-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: 48px;
  min-height: 380px;
  padding: 44px 0 50px;
}
#mib-cloud .ed-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #a9efd1;
}
#mib-cloud .ed-label::before { content: "\f19d"; font-size: 14px; }
#mib-cloud .ed-hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 16px;
  max-width: 760px;
}
#mib-cloud .ed-hero h1 .ed-accent { color: #aff0d0; }
#mib-cloud .ed-lead { max-width: 620px; font-size: 16px; line-height: 1.7; color: #e0f6ed; margin-bottom: 28px; }
#mib-cloud .ed-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

#mib-cloud .ed-hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 10px;
  backdrop-filter: blur(4px);
}
#mib-cloud .ed-panel-title { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #a9efd1; margin-bottom: 4px; }
#mib-cloud .ed-panel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ed-text);
  transition: transform .2s ease, box-shadow .2s ease;
}
#mib-cloud .ed-panel-item:hover { transform: translateX(3px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
#mib-cloud .ed-panel-item::before {
  content: "\f072";
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 12px;
  background: var(--ed-mint);
  color: var(--ed-green);
  font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
}
#mib-cloud .ed-ico-passport::before { content: "\f5ab"; }
#mib-cloud .ed-ico-school::before { content: "\f549"; }
#mib-cloud .ed-panel-item::after { content: "\f054"; font-size: 11px; color: #9ab3a8; margin-left: auto; }
#mib-cloud .ed-panel-text strong { display: block; font-size: 15px; color: var(--ed-text); }
#mib-cloud .ed-panel-text small { display: block; font-size: 12.5px; color: var(--ed-muted); margin-top: 2px; }

/* SECTIONS */
#mib-cloud .ed-section { padding: 72px 0; scroll-margin-top: 20px; }
#mib-cloud .ed-section-tint { background: #f5faf8; }
#mib-cloud .ed-group-head { max-width: 700px; margin-bottom: 30px; scroll-margin-top: 24px; }
#mib-cloud .ed-group-gap { margin-top: 64px; }
#mib-cloud .ed-center { margin-left: auto; margin-right: auto; text-align: center; }
#mib-cloud .ed-kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ed-green); margin-bottom: 8px; }
#mib-cloud .ed-group-head h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.8px; line-height: 1.15; color: var(--ed-text); margin-bottom: 10px; }
#mib-cloud .ed-group-head > p:last-child { font-size: 15.5px; line-height: 1.7; color: var(--ed-muted); }

/* PRODUCT CARDS */
#mib-cloud .ed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
#mib-cloud .ed-product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ed-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 57, 44, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#mib-cloud .ed-product:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0, 57, 44, .12); border-color: #c6e6d8; }
#mib-cloud .ed-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ed-mint); border-bottom: 1px solid var(--ed-border); }
#mib-cloud .ed-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }
#mib-cloud .ed-product:hover .ed-media img { transform: scale(1.03); }
#mib-cloud .ed-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
#mib-cloud .ed-tag {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
  color: var(--ed-dark); background: var(--ed-mint);
  padding: 6px 11px; border-radius: 30px; margin-bottom: 14px;
}
#mib-cloud .ed-tag::before { content: "\f19d"; font-size: 11px; color: var(--ed-green); }
#mib-cloud .ed-product h3 { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.3px; margin-bottom: 10px; color: var(--ed-text); }
#mib-cloud .ed-product h3 a:hover { color: var(--ed-green); }
#mib-cloud .ed-desc { font-size: 14.5px; line-height: 1.65; color: var(--ed-muted); margin-bottom: 16px; }
#mib-cloud .ed-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
#mib-cloud .ed-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ed-text); }
#mib-cloud .ed-points li::before { content: "\f00c"; font-size: 10px; width: 19px; height: 19px; min-width: 19px; border-radius: 50%; background: var(--ed-mint); color: var(--ed-green); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
#mib-cloud .ed-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
#mib-cloud .ed-actions .ed-btn { min-height: 42px; padding: 10px 20px; font-size: 13.5px; }

/* Wide card for the school product */
#mib-cloud .ed-product-wide { flex-direction: row; align-items: stretch; }
#mib-cloud .ed-product-wide .ed-media { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; border-bottom: 0; border-right: 1px solid var(--ed-border); }
#mib-cloud .ed-product-wide .ed-body { padding: 34px 36px; justify-content: center; }
#mib-cloud .ed-product-wide .ed-tag::before { content: "\f549"; }
#mib-cloud .ed-product-wide h3 { font-size: 26px; }
#mib-cloud .ed-product-wide .ed-desc { font-size: 15.5px; max-width: 560px; margin-bottom: 24px; }
#mib-cloud .ed-product-wide .ed-actions { margin-top: 0; }

/* STEPS */
#mib-cloud .ed-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
#mib-cloud .ed-step { background: #fff; border: 1px solid var(--ed-border); border-radius: 16px; padding: 24px 22px; }
#mib-cloud .ed-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(110deg, #00a96e, #007758); color: #fff;
  font-weight: 800; font-size: 15px; margin-bottom: 16px;
}
#mib-cloud .ed-step strong { display: block; font-size: 16.5px; color: var(--ed-text); margin-bottom: 6px; }
#mib-cloud .ed-step-text { display: block; font-size: 14px; line-height: 1.6; color: var(--ed-muted); }

/* CTA */
#mib-cloud .ed-cta { background: linear-gradient(115deg, #00392c 0%, #006249 100%); color: #fff; padding: 56px 0; }
#mib-cloud .ed-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
#mib-cloud .ed-cta h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.6px; line-height: 1.2; color: #fff; margin-bottom: 8px; }
#mib-cloud .ed-cta-text p { font-size: 15.5px; line-height: 1.65; color: #d4f1e5; max-width: 620px; }
#mib-cloud .ed-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  #mib-cloud .ed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mib-cloud .ed-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  #mib-cloud .ed-hero-grid { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 36px 0 40px; }
  #mib-cloud .ed-product-wide { flex-direction: column; }
  #mib-cloud .ed-product-wide .ed-media { flex: none; aspect-ratio: 2 / 1; min-height: 0; border-right: 0; border-bottom: 1px solid var(--ed-border); }
  #mib-cloud .ed-product-wide .ed-body { padding: 24px 22px 26px; }
  #mib-cloud .ed-product-wide h3 { font-size: 22px; }
  #mib-cloud .ed-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  #mib-cloud .ed-container { width: calc(100% - 28px); }
  #mib-cloud .ed-grid, #mib-cloud .ed-steps { grid-template-columns: 1fr; }
  #mib-cloud .ed-section { padding: 52px 0; }
  #mib-cloud .ed-group-gap { margin-top: 48px; }
  #mib-cloud .ed-hero h1 { font-size: 34px; letter-spacing: -1px; }
  #mib-cloud .ed-lead { font-size: 15px; }
  #mib-cloud .ed-hero-actions .ed-btn, #mib-cloud .ed-cta-actions .ed-btn { flex: 1 1 100%; }
  #mib-cloud .ed-cta-actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #mib-cloud * { transition: none !important; }
}

/* ===== SERVICE PAGE: icon cards, checklist, price ===== */
#mib-cloud .ed-service,
#mib-cloud .ed-service::before { box-sizing: border-box; }
#mib-cloud .ed-service {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ed-border);
  border-radius: 18px;
  padding: 26px 24px 24px;
  box-shadow: 0 4px 16px rgba(0, 57, 44, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#mib-cloud .ed-service:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0, 57, 44, .12); border-color: #c6e6d8; }
#mib-cloud .ed-service::before {
  content: "\f013";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 14px;
  background: var(--ed-mint);
  color: var(--ed-green);
  font-size: 21px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
#mib-cloud .ed-service h3 { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.3px; margin-bottom: 10px; color: var(--ed-text); }
#mib-cloud .ed-service .ed-points { margin-bottom: 0; }
#mib-cloud .ed-service .ed-desc:last-child { margin-bottom: 0; }
#mib-cloud .ed-service .ed-actions { margin-top: auto; padding-top: 20px; }
#mib-cloud .ed-service .ed-points + .ed-actions { padding-top: 22px; }
#mib-cloud .ed-meta { font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: var(--ed-green); margin-bottom: 8px; }
#mib-cloud .ed-price { font-size: 30px; font-weight: 800; letter-spacing: -.6px; color: var(--ed-dark); margin-bottom: 6px; }
#mib-cloud .ed-price small { font-size: 15px; font-weight: 700; color: var(--ed-muted); letter-spacing: 0; }

#mib-cloud .ed-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
#mib-cloud .ed-split .ed-group-head { margin-bottom: 0; }
#mib-cloud .ed-checklist { background: #fff; border: 1px solid var(--ed-border); border-radius: 18px; padding: 28px 30px; box-shadow: 0 4px 16px rgba(0, 57, 44, .05); }
#mib-cloud .ed-checklist .ed-points { margin: 0; gap: 14px; }
#mib-cloud .ed-checklist .ed-points li { font-size: 15px; }

@media (max-width: 900px) {
  #mib-cloud .ed-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  #mib-cloud .ed-checklist { padding: 22px 20px; }
}

/* ===== CLOUD PAGE: icons ===== */
#mib-cloud .ed-label::before { content: "\f0c2"; }
#mib-cloud .ed-panel-item.ed-ico-globe::before { content: "\f0ac"; }
#mib-cloud .ed-panel-item.ed-ico-server::before { content: "\f233"; }
#mib-cloud .ed-panel-item.ed-ico-shield::before { content: "\f3ed"; }
#mib-cloud .ed-service.ed-svc-server::before { content: "\f233"; }
#mib-cloud .ed-service.ed-svc-cloud::before { content: "\f0c2"; }
#mib-cloud .ed-service.ed-svc-gears::before { content: "\f085"; }
#mib-cloud .ed-service.ed-svc-db::before { content: "\f1c0"; }
#mib-cloud .ed-service.ed-svc-shield::before { content: "\f3ed"; }
#mib-cloud .ed-service.ed-svc-gauge::before { content: "\f625"; }
#mib-cloud .ed-service.ed-svc-mobile::before { content: "\f3cd"; }
#mib-cloud .ed-service.ed-svc-tag::before { content: "\f02b"; }

/* ===== CLOUD PAGE: project cards (same size as the other pages) ===== */
#mib-cloud .ed-media { aspect-ratio: 2 / 1; background: #3a3a3a; }
#mib-cloud .ed-media img { object-position: center; }
#mib-cloud .ed-tag::before { content: "\f0c2"; }
#mib-cloud .ed-tag.ed-tag-mobile::before { content: "\f3cd"; }
#mib-cloud .ed-hosting {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--ed-border);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0, 57, 44, .05);
}
#mib-cloud .ed-hosting::before {
  content: "\f233";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  width: 56px; height: 56px; min-width: 56px;
  border-radius: 14px;
  background: var(--ed-mint);
  color: var(--ed-green);
  font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
}
#mib-cloud .ed-hosting-text { flex: 1; }
#mib-cloud .ed-hosting .ed-desc { margin-bottom: 0; max-width: 620px; }
#mib-cloud .ed-hosting > .ed-btn { flex-shrink: 0; }
@media (max-width: 640px) {
  #mib-cloud .ed-hosting { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 16px; }
  #mib-cloud .ed-hosting > .ed-btn { width: 100%; }
}
