/* ===== MJ Transcription — Custom Additions (Digitimize) ===== */

/* Floating WhatsApp Button */
.mj-wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 99998;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.mj-wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37,211,102,0.6);
}
.mj-wa-float svg { width: 30px; height: 30px; }
.mj-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  animation: mjWaPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes mjWaPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
.mj-wa-tooltip {
  position: absolute;
  left: 68px;
  bottom: 14px;
  background: #232323;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: .85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, left .25s ease;
}
.mj-wa-float:hover + .mj-wa-tooltip,
.mj-wa-float:focus + .mj-wa-tooltip {
  opacity: 1;
  left: 72px;
}

@media (max-width: 600px) {
  .mj-wa-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .mj-wa-float svg { width: 26px; height: 26px; }
  .mj-wa-tooltip { display: none; }
}

/* ===== Service cards — redesigned (full-image hover overlay) ===== */
.services_sec_main_grid .card_main_sec {
  cursor: pointer;
  background: #fff !important;
  border: 1px solid #f0eee9;
  box-shadow: 0 4px 18px rgba(20,20,20,0.06) !important;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, height .4s ease !important;
  overflow: hidden !important;
  border-radius: 20px !important;
}
.services_sec_main_grid .card_main_sec:hover {
  box-shadow: 0 18px 40px rgba(20,20,20,0.28) !important;
  transform: translateY(-6px) !important;
  border-color: #f16722;
  height: 310px !important; /* cancel the old height-grow */
}
.services_sec_main_grid .card_main_sec:active { transform: translateY(-2px) scale(.99) !important; }

/* Image expands to fill the whole card on hover, becoming the background */
.services_sec_main_grid .card_main_sec .image_card {
  border-radius: 12px !important;
  z-index: 1;
  transition: top .45s ease, left .45s ease, width .45s ease, height .45s ease, border-radius .45s ease !important;
}
.services_sec_main_grid .card_main_sec:hover .image_card {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 20px !important;
}

/* Light gradient scrim for text readability, strengthens on hover */
.services_sec_main_grid .card_main_sec .image_card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.92) 100%);
  opacity: 0;
  transition: opacity .4s ease, background .4s ease;
  z-index: 1;
}
.services_sec_main_grid .card_main_sec:hover .image_card::after {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.97) 65%, rgba(255,255,255,1) 100%);
}

/* Lower the image's own opacity on hover, as requested */
.services_sec_main_grid .card_main_sec .image_card .lazyload {
  transition: opacity .4s ease, transform .5s ease;
}
.services_sec_main_grid .card_main_sec:hover .image_card .lazyload {
  opacity: .22;
  transform: scale(1.06);
}

/* Text overlay: sits on top of the dimmed image, always legible */
.services_sec_main_grid .card_main_sec .card_info {
  z-index: 2;
  transition: top .45s ease, height .45s ease, padding .35s ease !important;
}
.services_sec_main_grid .card_main_sec:hover .card_info {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding: 22px 24px !important;
  box-sizing: border-box;
  text-align: left !important;
  overflow: hidden !important;
}

.services_sec_main_grid .card_main_sec .card_info h2 {
  position: relative;
  display: inline-block;
  transition: color .35s ease, text-shadow .35s ease;
}
.services_sec_main_grid .card_main_sec:hover .card_info h2 {
  color: #1a1a1a !important;
  text-shadow: none;
  margin: 0 0 8px !important;
}
.services_sec_main_grid .card_main_sec .card_info h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 3px;
  width: 32px;
  border-radius: 3px;
  background: #f16722;
  transition: width .3s ease, background .3s ease;
}
.services_sec_main_grid .card_main_sec:hover .card_info h2::after {
  width: 60px;
  background: #f16722;
}
.services_sec_main_grid .card_main_sec:hover .card_info p {
  color: #3a3a3a !important;
  text-shadow: none;
  opacity: 1 !important;
  font-size: .92rem !important;
  line-height: 1.4rem !important;
  margin: 0 !important;
}

/* Small "view details" cue, top-right corner badge on hover */
.mj-card-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f16722;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 12px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
}
.services_sec_main_grid .card_main_sec:hover .mj-card-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Modal overlay (shared) ===== */
.mj-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,0.62);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: mjFadeIn .2s ease forwards;
}
@keyframes mjFadeIn { to { opacity: 1; } }

.mj-modal-box {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  font-family: "Nunito Sans", sans-serif;
  transform: translateY(16px);
  animation: mjSlideUp .25s ease forwards;
}
@keyframes mjSlideUp { to { transform: translateY(0); } }

.mj-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  font-size: 1.1rem;
  color: #232323;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.mj-modal-close:hover { background: #eee; }

.mj-modal-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.mj-modal-body { padding: 26px 26px 28px; }

.mj-modal-body h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  color: #232323;
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.mj-modal-body p.mj-desc {
  color: #707070;
  line-height: 1.6rem;
  font-size: 1rem;
  margin: 0 0 22px;
  text-align: justify;
}

.mj-btn-primary {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #f16722;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: "Nunito Sans", sans-serif;
}
.mj-btn-primary:hover { background: #d9550f; }
.mj-btn-primary:active { transform: scale(.98); }

.mj-btn-whatsapp {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  font-family: "Nunito Sans", sans-serif;
  margin-top: 6px;
}
.mj-btn-whatsapp:hover { background: #1ebc59; }
.mj-btn-whatsapp:active { transform: scale(.98); }

/* Request form */
.mj-form-group { margin-bottom: 16px; }
.mj-form-group label {
  display: block;
  font-weight: 700;
  color: #232323;
  font-size: .9rem;
  margin-bottom: 6px;
}
.mj-form-group input,
.mj-form-group textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .95rem;
  font-family: "Nunito Sans", sans-serif;
  color: #232323;
  outline: none;
  transition: border-color .2s;
}
.mj-form-group input:focus,
.mj-form-group textarea:focus { border-color: #f16722; }
.mj-form-group textarea { resize: vertical; min-height: 90px; }
.mj-form-group .mj-error {
  color: #e04d3b;
  font-size: .8rem;
  margin-top: 4px;
  display: none;
}
.mj-form-group.mj-invalid input,
.mj-form-group.mj-invalid textarea { border-color: #e04d3b; }
.mj-form-group.mj-invalid .mj-error { display: block; }

.mj-service-tag {
  display: inline-block;
  background: #fff1e9;
  color: #f16722;
  font-weight: 700;
  font-size: .82rem;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.mj-back-link {
  background: none;
  border: none;
  color: #707070;
  font-size: .85rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Nunito Sans", sans-serif;
}
.mj-back-link:hover { color: #f16722; }

/* ===== Footer — functional links ===== */
.mj-footer-service-link {
  cursor: pointer;
  transition: color .2s;
}
.mj-footer-service-link:hover { color: #f16722 !important; }
.mj-footer-service-link:hover .line { background-color: #f16722 !important; }

.mj-footer-bottom-flex {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between !important;
  align-items: center;
  gap: 10px 24px;
  text-align: left !important;
}
.mj-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.mj-footer-links a {
  opacity: .85;
  transition: opacity .2s;
}
.mj-footer-links a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 640px) {
  .mj-footer-bottom-flex { justify-content: center !important; text-align: center !important; }
  .mj-footer-links { justify-content: center; }
}

/* ===== Hero section — redesigned ===== */
.about_main {
  background: linear-gradient(135deg, #ff9a4d 0%, #f16722 42%, #b8420f 100%) !important;
  position: relative !important;
  isolation: isolate;
}

/* Soft animated glow blobs behind the content, for depth + motion */
.about_main::before,
.about_main::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.about_main::before {
  width: 420px;
  height: 420px;
  background: rgba(255, 217, 168, 0.35);
  top: -120px;
  left: -100px;
  animation: mjBlobFloat1 12s ease-in-out infinite;
}
.about_main::after {
  width: 520px;
  height: 520px;
  background: rgba(184, 66, 15, 0.45);
  bottom: -180px;
  right: -140px;
  animation: mjBlobFloat2 15s ease-in-out infinite;
}
@keyframes mjBlobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.12); }
}
@keyframes mjBlobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.08); }
}

/* Retint the existing floating dots to brand-orange shades instead of rainbow */
.about_main .about_bubble div { z-index: 1 !important; box-shadow: 0 0 8px rgba(255,255,255,0.5); }
.about_main .about_bubble div:nth-child(1) { background-color: #ffe1c2 !important; }
.about_main .about_bubble div:nth-child(2) { background-color: #ffffff !important; }
.about_main .about_bubble div:nth-child(3) { background-color: #ffb877 !important; }
.about_main .about_bubble div:nth-child(4) { background-color: #fff3e6 !important; }
.about_main .about_bubble div:nth-child(5) { background-color: #ffcf9e !important; }
.about_main .about_bubble div:nth-child(6) { background-color: #ffa25c !important; }
.about_main .about_bubble div:nth-child(7) { background-color: #ffffff !important; }
.about_main .about_bubble div:nth-child(8) { background-color: #ffd9a8 !important; }
.about_main .about_bubble div:nth-child(9) { background-color: #ff8a3d !important; }
.about_main .about_bubble div:nth-child(10) { background-color: #ffffff !important; }

/* Decorative circle_1 / circle_2 blend softly into the new background */
.about_main .info_about .circle_1,
.about_main .info_about .circle_2 {
  opacity: .25;
  mix-blend-mode: overlay;
}

/* Text content, in white, sitting above the blobs */
.about_main .info_about { position: relative; z-index: 2; }
.about_main .info_about h1 {
  color: #fff !important;
  text-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.about_main .info_about h1 span {
  color: #fff3e0 !important;
  -webkit-text-stroke: 0;
}
.about_main .info_about p {
  color: rgba(255,255,255,0.92) !important;
}

/* CTA button — inverted for contrast against the orange backdrop */
.about_main .info_about button {
  background: #fff !important;
  color: #f16722 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.about_main .info_about button:hover {
  background: #232323 !important;
  color: #fff !important;
}

/* Illustration cluster gets a soft glow so it doesn't feel flat on the gradient */
.about_main .image_about {
  position: relative;
  z-index: 2;
}
.about_main .image_about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 60%);
  z-index: -1;
  pointer-events: none;
}
