/* =========================================================
   Webroid Business Solutions — Theme (Bootstrap 5.3 add-on)
   ========================================================= */
:root {
  --wr-primary: #20ad96;
  --wr-primary-dark: #128a77;
  --wr-primary-soft: #e6f7f4;
  --wr-accent: #e73a5e;
  --wr-accent-soft: #fdebef;
  --wr-ink: #0f1f2e;
  --wr-muted: #5b6b7a;
  --wr-bg-alt: #f6f9fb;
  --wr-radius: 1rem;
  --wr-shadow: 0 10px 30px rgba(15, 31, 46, .08);
  --wr-shadow-lg: 0 20px 50px rgba(15, 31, 46, .14);

  --bs-primary: var(--wr-primary);
  --bs-primary-rgb: 32, 173, 150;
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--wr-ink);
  --bs-link-color: var(--wr-primary-dark);
  --bs-link-hover-color: var(--wr-accent);
}

body { font-family: var(--bs-body-font-family); color: var(--wr-ink); overflow-x: hidden; }
h1, h2, h3, h4, h5, .display-font { font-weight: 800; letter-spacing: -.02em; }
.text-muted-2 { color: var(--wr-muted) !important; }
.text-brand { color: var(--wr-primary) !important; }
.text-accent { color: var(--wr-accent) !important; }
.bg-alt { background: var(--wr-bg-alt); }
.bg-brand-soft { background: var(--wr-primary-soft); }
section { scroll-margin-top: 90px; }
.section { padding: 5.5rem 0; }
@media (max-width: 767.98px) { .section { padding: 3.75rem 0; } }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; font-weight: 700; border-radius: 50rem; padding: .75rem 1.6rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--wr-primary); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(32,173,150,.35); }
.btn-brand:hover, .btn-brand:focus { background: var(--wr-primary-dark); color: #fff; }
.btn-accent { background: var(--wr-accent); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(231,58,94,.35); }
.btn-accent:hover, .btn-accent:focus { background: #c92a4c; color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; border: 0; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }
.btn-outline-brand { border: 2px solid var(--wr-primary); color: var(--wr-primary-dark); background: transparent; }
.btn-outline-brand:hover { background: var(--wr-primary); color: #fff; }

/* ---------- Top bar + Navbar ---------- */
.topbar { background: var(--wr-ink); color: #c9d4de; font-size: .85rem; }
.topbar a { color: #c9d4de; text-decoration: none; }
.topbar a:hover { color: #fff; }
.navbar-wr { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); transition: box-shadow .3s, padding .3s; padding: 1rem 0; }
.navbar-wr.scrolled { box-shadow: 0 6px 24px rgba(15,31,46,.08); padding: .55rem 0; }
.navbar-wr .navbar-brand img { height: 46px; width: auto; border-radius: .4rem; }
.navbar-wr .nav-link { font-weight: 600; color: var(--wr-ink); white-space: nowrap; padding: .5rem .75rem !important; border-radius: 50rem; }
.navbar-wr .nav-link:hover, .navbar-wr .nav-link.active { color: var(--wr-primary-dark); background: var(--wr-primary-soft); }
.navbar-wr .dropdown-menu { border: 0; border-radius: var(--wr-radius); box-shadow: var(--wr-shadow-lg); padding: .5rem; }
.navbar-wr .dropdown-item { border-radius: .6rem; padding: .55rem .9rem; font-weight: 500; }
.navbar-wr .dropdown-item:hover { background: var(--wr-primary-soft); color: var(--wr-primary-dark); }
@media (min-width: 1200px) { .navbar-wr .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 6rem 0 7rem; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(32,173,150,.18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(231,58,94,.12), transparent 60%),
    #fff;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; }
.hero .highlight { background: linear-gradient(120deg, var(--wr-primary), #0e7c9b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: var(--wr-primary-soft); color: var(--wr-primary-dark); font-weight: 700; font-size: .85rem; padding: .4rem 1rem; border-radius: 50rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wr-accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(231,58,94,.5)} 70%{box-shadow:0 0 0 10px rgba(231,58,94,0)} 100%{box-shadow:0 0 0 0 rgba(231,58,94,0)} }

.hero-visual { position: relative; }
.hero-card { background: #fff; border-radius: 1.25rem; box-shadow: var(--wr-shadow-lg); padding: 1.25rem; }
.browser-dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.mock-line { height: 10px; border-radius: 6px; background: #e9eef3; margin-bottom: .6rem; }
.mock-block { border-radius: .8rem; background: linear-gradient(135deg, var(--wr-primary), #0e7c9b); height: 120px; }
.float-chip { position: absolute; background: #fff; border-radius: 1rem; box-shadow: var(--wr-shadow-lg); padding: .75rem 1rem; display: flex; align-items: center; gap: .75rem; font-weight: 700; font-size: .9rem; animation: floaty 4s ease-in-out infinite; }
.float-chip .ic { width: 40px; height: 40px; border-radius: .75rem; display: grid; place-items: center; font-size: 1.2rem; }
.float-chip.c1 { top: -18px; left: -24px; }
.float-chip.c2 { bottom: 30px; right: -20px; animation-delay: 1.2s; }
.float-chip.c3 { bottom: -22px; left: 18%; animation-delay: 2.2s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@media (max-width: 991.98px) { .float-chip { display: none; } }

.trust-row { color: var(--wr-muted); font-size: .9rem; }
.trust-row i { color: var(--wr-primary); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: 4.5rem 0 3.5rem; background: linear-gradient(135deg, var(--wr-ink) 0%, #12384a 60%, var(--wr-primary-dark) 130%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(32,173,150,.25); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); --bs-breadcrumb-item-active-color: rgba(255,255,255,.75); position: relative; z-index: 1; }
.page-hero .breadcrumb a { color: #fff; text-decoration: none; }

/* ---------- Section titles ---------- */
.section-title { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-title .kicker { color: var(--wr-accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.section-title h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: .5rem 0 1rem; }
.section-title.text-start { margin-left: 0; text-align: left; }

/* ---------- Service cards ---------- */
.service-card { background: #fff; border: 1px solid #eef2f5; border-radius: 1.25rem; padding: 2rem; height: 100%; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--wr-shadow-lg); border-color: transparent; }
.service-card .icon { width: 64px; height: 64px; border-radius: 1rem; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1.25rem; }
.service-card ul { padding-left: 0; list-style: none; margin: 1rem 0 1.5rem; }
.service-card li { padding: .3rem 0; color: var(--wr-muted); font-size: .95rem; }
.service-card li i { color: var(--wr-primary); margin-right: .45rem; }
.service-card .card-link { font-weight: 700; text-decoration: none; color: var(--wr-primary-dark); }
.service-card .card-link i { transition: transform .2s; display: inline-block; }
.service-card:hover .card-link i { transform: translateX(5px); }
.ic-teal { background: var(--wr-primary-soft); color: var(--wr-primary-dark); }
.ic-pink { background: var(--wr-accent-soft); color: var(--wr-accent); }
.ic-green { background: #e7f9ee; color: #1a9e4b; }
.ic-blue { background: #e8f1ff; color: #2f6fe4; }
.ic-amber { background: #fff4e0; color: #d48806; }

/* ---------- Training ---------- */
.training-card { border-radius: 1.25rem; padding: 2rem; color: #fff; height: 100%; position: relative; overflow: hidden; }
.training-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.1); right: -50px; bottom: -60px; }
.training-card.t1 { background: linear-gradient(140deg, #20ad96, #0e7c9b); }
.training-card.t2 { background: linear-gradient(140deg, #e73a5e, #b0285a); }
.training-card.t3 { background: linear-gradient(140deg, #3a4cd6, #1f2a7a); }
.training-card .badge { background: rgba(255,255,255,.2); font-weight: 600; }
.training-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.training-card li { padding: .25rem 0; opacity: .95; }
.training-card .btn-light { color: var(--wr-ink); }

/* ---------- Process ---------- */
.step { text-align: center; padding: 1rem; position: relative; }
.step .num { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; font-weight: 800; font-size: 1.3rem; background: #fff; color: var(--wr-primary-dark); border: 3px solid var(--wr-primary); box-shadow: var(--wr-shadow); position: relative; z-index: 1; }
@media (min-width: 992px) {
  .steps-row .col-lg-3:not(:last-child) .step::after { content: ""; position: absolute; top: 48px; left: calc(50% + 40px); width: calc(100% - 80px); border-top: 2px dashed #b6e3db; }
}

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(120deg, var(--wr-primary-dark), var(--wr-primary)); color: #fff; border-radius: 1.5rem; padding: 3rem 2rem; box-shadow: var(--wr-shadow-lg); }
.stat .value { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; }
.stat .label { opacity: .9; font-weight: 500; margin-top: .4rem; }

/* ---------- Why us ---------- */
.feature-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.feature-item .icon { flex: 0 0 52px; height: 52px; border-radius: .9rem; display: grid; place-items: center; font-size: 1.4rem; }
.tech-pill { display: inline-block; background: #fff; border: 1px solid #e3e9ee; border-radius: 50rem; padding: .45rem 1rem; margin: 0 .4rem .6rem 0; font-weight: 600; font-size: .9rem; transition: all .2s; }
.tech-pill:hover { border-color: var(--wr-primary); color: var(--wr-primary-dark); }

/* ---------- Events ---------- */
.event-card { background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--wr-shadow); height: 100%; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--wr-shadow-lg); }
.event-card .thumb { aspect-ratio: 16/10; background: var(--wr-primary-soft); overflow: hidden; }
.event-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card:hover .thumb img { transform: scale(1.06); }
.event-card .body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.event-card .meta { font-size: .85rem; color: var(--wr-muted); }
.event-row { background: #fff; border-radius: 1rem; padding: 1.25rem 1.5rem; box-shadow: var(--wr-shadow); border-left: 5px solid var(--wr-primary); height: 100%; transition: transform .2s; }
.event-row:hover { transform: translateY(-4px); }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border-radius: 1.25rem; padding: 2.25rem; box-shadow: var(--wr-shadow); max-width: 820px; margin: 0 auto; }
.testimonial .quote-ic { font-size: 2.5rem; color: var(--wr-primary); line-height: 1; }
.testimonial .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--wr-primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
#testimonialCarousel .carousel-indicators { position: static; margin-top: 1.5rem; }
#testimonialCarousel .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: var(--wr-primary); border: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(600px 300px at 100% 0, rgba(231,58,94,.35), transparent 60%), linear-gradient(135deg, var(--wr-ink), #12384a); color: #fff; border-radius: 1.75rem; padding: 3.5rem 2.5rem; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: .8rem; padding: .8rem 1rem; border-color: #dfe6ec; }
.form-control:focus, .form-select:focus { border-color: var(--wr-primary); box-shadow: 0 0 0 .25rem rgba(32,173,150,.18); }
.form-card { background: #fff; border-radius: 1.5rem; padding: 2.25rem; box-shadow: var(--wr-shadow-lg); }

/* ---------- Contact ---------- */
.contact-tile { background: #fff; border-radius: 1.25rem; padding: 1.75rem; box-shadow: var(--wr-shadow); height: 100%; display: flex; gap: 1rem; }
.contact-tile .icon { flex: 0 0 52px; height: 52px; border-radius: .9rem; display: grid; place-items: center; font-size: 1.4rem; }
.map-wrap { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--wr-shadow); }

/* ---------- Portfolio ---------- */
.work-card { background: #fff; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--wr-shadow); }
.work-card .thumb { background: var(--wr-bg-alt); min-height: 260px; height: 100%; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery ---------- */
.gallery-item { display: block; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: "\F52A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: #fff; background: rgba(15,31,46,.45); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--wr-ink); color: #a9b7c4; padding-top: 4.5rem; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.25rem; }
.footer a { color: #a9b7c4; text-decoration: none; }
.footer a:hover { color: var(--wr-primary); }
.footer .links li { margin-bottom: .6rem; }
.footer .social a { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); margin-right: .4rem; font-size: 1.1rem; color: #fff; transition: background .2s, transform .2s; }
.footer .social a:hover { background: var(--wr-primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; margin-top: 3rem; font-size: .9rem; }

/* ---------- Floating actions ---------- */
.fab-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 1050; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 10px 25px rgba(37,211,102,.45); text-decoration: none; }
.fab-whatsapp:hover { color: #fff; transform: scale(1.08); }
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2s infinite; }
@keyframes ring { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(1.6);opacity:0} }
.back-top { position: fixed; right: 28px; bottom: 92px; z-index: 1049; width: 44px; height: 44px; border-radius: 50%; background: var(--wr-ink); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; border: 0; }
.back-top.show { opacity: 1; pointer-events: auto; }
.mobile-cta { display: none; }
@media (max-width: 767.98px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1048; background: #fff; box-shadow: 0 -6px 20px rgba(15,31,46,.12); }
  .mobile-cta a { flex: 1; text-align: center; padding: .85rem .5rem; font-weight: 700; text-decoration: none; font-size: .95rem; }
  .mobile-cta a.call { color: var(--wr-ink); }
  .mobile-cta a.wa { background: #25d366; color: #fff; }
  .mobile-cta a.quote { background: var(--wr-accent); color: #fff; }
  body { padding-bottom: 56px; }
  .fab-whatsapp { display: none; }
  .back-top { bottom: 72px; right: 16px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; transition: none !important; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) { .navbar-wr .nav-link { padding: .5rem .55rem !important; font-size: .95rem; } .navbar-wr .btn-sm { padding: .45rem .9rem; } }
