.w-webflow-badge,
.w-webflow-badge * {
  display: none !important;
  visibility: hidden !important;
}

.nav-brand-logo-link .nav-brand-logo-img,
.footer-logo-link .nav-brand-logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .nav-brand-logo-link .nav-brand-logo-img,
  .footer-logo-link .nav-brand-logo-img {
    height: 44px;
    max-width: 220px;
  }
}

/* Home product cards: fixed image band, cover-fit photos (e.g. Bulk SMS portrait) */
.service-grid .service-card {
  display: flex;
  flex-direction: column;
}

.service-grid .service-card .service-wrapper {
  flex: 1 1 auto;
  height: auto;
}

.service-grid .service-card .service-image-div {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1680 / 1400;
  overflow: hidden;
}

.service-grid .service-card .service-image-div .service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-grid .service-card .service-image-div .service-overlay-div {
  pointer-events: none;
}

/* Contact page: card grid (Wigal-style, no form) */
.contact-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: auto auto;
  padding: var(--_📐-spacing---1️⃣-spacing--space-xxxl, 2rem) !important;
  max-width: 72rem;
  opacity: 1 !important;
  visibility: visible !important;
}

.contact-cards-grid .contact-div {
  height: 100%;
  opacity: 1 !important;
  visibility: visible !important;
}

.contact-cards-grid .contact-card {
  height: 100%;
  min-height: 16rem;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.contact-cards-grid .contact-card .paragraph a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-cards-grid .contact-card .paragraph a:hover {
  opacity: 0.85;
}

@media screen and (max-width: 767px) {
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Home hero trust strip: cap raster/SVG size (Webflow height only below 991px) */
.common-hero-section .brand-logo-div .brand-logo-image {
  height: 2rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  .common-hero-section .brand-logo-div .brand-logo-image {
    height: 2.375rem;
    max-width: 10.5rem;
  }
}

@media screen and (min-width: 992px) {
  .common-hero-section .brand-logo-div .brand-logo-image {
    height: 2.875rem;
    max-width: 12rem;
  }
}

/* AF mark — a bit wider allowance */
.common-hero-section .brand-logo-div .brand-logo-image--af {
  max-width: 9.5rem;
}

@media screen and (min-width: 768px) {
  .common-hero-section .brand-logo-div .brand-logo-image--af {
    max-width: 10rem;
  }
}

@media screen and (min-width: 992px) {
  .common-hero-section .brand-logo-div .brand-logo-image--af {
    max-width: 11.5rem;
  }
}

/* Products page: anchor scroll offset below fixed nav */
#bulk-sms,
#voice-sms,
#ivr-messaging,
#faq {
  scroll-margin-top: 7.5rem;
}

/* Home page hero: white background */
.common-hero-section.home-hero-white {
  background-color: #fff;
}

/* Home hero: video card replaces image carousel */
.hero-video-card-wrapper {
  width: 100%;
  padding-bottom: 2.5rem;
  opacity: 0;
  transform: translate3d(0, 100px, 0);
  animation: hero-video-card-reveal 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.8s forwards;
  will-change: transform, opacity;
}

@keyframes hero-video-card-reveal {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-card-wrapper {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

.hero-video-card-wrapper .container {
  max-width: 88rem;
}

.hero-video-card {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #2c3338;
  box-shadow: 0 1.5rem 3.5rem rgba(16, 82, 70, 0.12);
  aspect-ratio: 16 / 9;
  min-height: 14rem;
  position: relative;
}

.hero-video-card .hero-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  object-position: center;
  background-color: #2c3338;
}

@media screen and (min-width: 768px) {
  .hero-video-card {
    min-height: 20rem;
    border-radius: 1.75rem;
  }

  .hero-video-card .hero-video {
    min-height: 20rem;
  }
}

@media screen and (min-width: 992px) {
  .hero-video-card-wrapper {
    padding-bottom: 3rem;
  }

  .hero-video-card {
    min-height: 24rem;
    border-radius: 2rem;
  }

  .hero-video-card .hero-video {
    min-height: 24rem;
  }
}

/* Index: Why Choose FROG — green cards (#1B8748), white copy & icons */
html[data-wf-page="6996de2c87d0ca661bfca44e"]
  .section.background-white[data-wf--why-choose-us-section--variant="base"]
  .our-edge-grid
  .our-edge-card {
  background-color: #1b8748 !important;
}

html[data-wf-page="6996de2c87d0ca661bfca44e"]
  .section.background-white[data-wf--why-choose-us-section--variant="base"]
  .our-edge-grid
  .our-edge-card
  .h5-heading,
html[data-wf-page="6996de2c87d0ca661bfca44e"]
  .section.background-white[data-wf--why-choose-us-section--variant="base"]
  .our-edge-grid
  .our-edge-card
  .paragraph {
  color: #fff !important;
}

html[data-wf-page="6996de2c87d0ca661bfca44e"]
  .section.background-white[data-wf--why-choose-us-section--variant="base"]
  .our-edge-grid
  .our-edge-card
  .our-edge-icon
  svg
  path {
  fill: #fff !important;
}

/* Products page hero: left-aligned copy, image card on the right */
.common-hero-section .service-hero-grid {
  grid-template-columns: 1fr 0.85fr;
  justify-items: stretch;
  place-items: center stretch;
  text-align: left;
}

.common-hero-section .service-hero-wrapper {
  align-items: flex-start;
  text-align: left;
}

.common-hero-section .service-hero-heading-div,
.common-hero-section .service-hero-heading-div h1,
.common-hero-section .service-hero-paragraph {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.common-hero-section .service-hero-div:last-child {
  width: 100%;
}

.common-hero-section .service-hero-image-card.service-hero-image-div {
  justify-content: stretch;
  align-items: stretch;
  width: 100%;
}

.common-hero-section .service-hero-image-card {
  width: 100%;
  max-width: 32rem;
  min-width: 0;
  margin-left: auto;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #fff5eb;
  box-shadow: 0 1.5rem 3rem rgba(16, 82, 70, 0.12);
}

.common-hero-section .service-hero-image-card .service-hero-image {
  width: 100%;
  max-width: none !important;
  height: auto;
  min-height: 18rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
}

@media screen and (min-width: 992px) {
  .common-hero-section .service-hero-image-card .service-hero-image {
    min-height: 20rem;
  }
}

@media screen and (max-width: 991px) {
  .common-hero-section .service-hero-grid {
    grid-template-columns: 1fr;
    grid-row-gap: 2.5rem;
  }

  .common-hero-section .service-hero-image-card {
    max-width: 100%;
    margin-left: 0;
  }
}

/* Products page: sticky benefit cards — equal height, FROG image bands */
.service-section .service-slide-div {
  align-items: stretch;
}

.service-section .services-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: auto;
}

.service-section .services-card .service-wrapper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 14.5rem;
  box-sizing: border-box;
}

.service-section .services-card .service-paragraph {
  flex: 1 1 auto;
}

.service-section .services-card .service-image-div {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 5 / 4;
  min-height: 16.5rem;
  overflow: hidden;
  position: relative;
}

.service-section .services-card .service-image-div .service-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-section .services-card .service-image-div .service-overlay-div {
  pointer-events: none;
}

/* Testimonials: centered quote, paired arrows below */
.testimonial-slider-centered {
  position: relative;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 4.5rem;
}

.testimonial-slider-centered .w-slider-mask {
  min-height: 11rem;
}

.testimonial-slider-centered .testimonial-slide {
  height: auto;
  min-height: 11rem;
}

.testimonial-slider-centered .testimonial-div {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.testimonial-slider-centered .testimonial-wrapper {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-slider-centered .testimonial-text,
.testimonial-slider-centered .large-paragraph {
  text-align: center;
}

.testimonial-slider-centered .testimonial-arrow-div {
  top: auto;
  bottom: 0;
  transform: none;
  margin-top: 0;
}

.testimonial-slider-centered .testimonial-arrow-div.left {
  left: calc(50% - 3.5rem);
  right: auto;
}

.testimonial-slider-centered .testimonial-arrow-div.w-slider-arrow-right {
  left: calc(50% + 0.5rem);
  right: auto;
}

/* Blog cards: cover-fit custom FROG images */
.blog-wrapper .blog-thumb-image-div {
  overflow: hidden;
  aspect-ratio: 914 / 560;
}

.blog-wrapper .blog-thumb-image-div .blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Footer: logo/tagline left, link columns right (matches index / Webflow layout) */
.footer .footer-top-div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 2.5rem;
  width: 100%;
}

.footer .footer-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  max-width: 22rem;
}

.footer .footer-wrapper {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 3.5rem;
  margin-left: auto;
}

.footer .footer-detail-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
}

.footer .footer-link-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-link-with-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-coming-soon-pill {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background-color: #c8efd8;
  color: #105246;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer .footer-bottom-div {
  display: flex;
  width: 100%;
  justify-content: center !important;
  align-items: center;
  text-align: center;
}

.footer .footer-bottom-div > .small-paragraph {
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .footer .footer-top-div {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer .footer-div {
    max-width: none;
  }

  .footer .footer-wrapper {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2.5rem;
  }
}

@media screen and (max-width: 767px) {
  .footer .footer-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 4rem;
  height: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

@media screen and (max-width: 767px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float img {
    width: 3.25rem;
    height: 3.25rem;
  }
}
